ItsDrike
75fbd46888
Fix gchb alias
2022-01-04 01:03:18 +01:00
ItsDrike
f1f8946139
Add alias to search pacnew files
2022-01-04 01:03:05 +01:00
ItsDrike
7245d14694
Rewrite cheat.sh fzf helper script
2021-12-24 06:35:25 +01:00
ItsDrike
f779fdd273
Improve fzf comment for cheat.sh script
2021-12-24 04:54:01 +01:00
ItsDrike
ddefca9a3d
Pass non-matched fzf queries with enter too
2021-12-24 04:53:35 +01:00
ItsDrike
0d0e9031d0
Fail on invalid selection
2021-12-24 04:52:38 +01:00
ItsDrike
1c73a80dfc
Fix cheat.sh non-default query ability
2021-12-24 04:46:48 +01:00
ItsDrike
d04842084a
Rewrite cheat.sh script
2021-12-24 04:30:58 +01:00
ItsDrike
18ba4c4906
Fix keybinds
2021-12-24 02:42:04 +01:00
ItsDrike
c1af932797
Remove unnecessary env variables
2021-12-18 18:10:18 +01:00
ItsDrike
abac53fa9f
Update comments
2021-12-18 18:10:04 +01:00
ItsDrike
826cef4e6e
POSIX compliance, shellcheck
2021-12-18 18:09:25 +01:00
ItsDrike
d843e90462
Use spaces instead of tabs
2021-12-18 18:07:47 +01:00
ItsDrike
b07404d669
Use POSIX-compatible sh, not zsh
2021-12-18 12:04:41 +01:00
ItsDrike
09ce7d00a9
Convert tabs to spaces
2021-12-18 12:04:28 +01:00
ItsDrike
752fd36c62
Fix pip aliases for cpython/pypy
...
- We can't simply define `pip3.6`,... because the aliases support both
cpython and pypy version, which means these needs to differ. For that
reason, I decided to use `ppip3` for pypy and `pip3` for cpython.
However there's also an option to use the full version like this:
`pypy3pip` or `py3.7pip`.
2021-12-18 11:49:37 +01:00
ItsDrike
5432334da6
Simplify python alias creation
2021-12-18 05:48:36 +01:00
ItsDrike
02237fd0b1
Don't re-run work_directory function
...
- Re-reunning work_directory every time we redraw the prompt isn't
necessary, since the function is here to generate the zsh supported
syntax for the prompt that will get expanded into a work directory
automatically.
- The function is only here to determine whether we're in TTY and use
ASCII compatible symbols if we are, however it is enough to only check
this once initially, since we can't leave TTY in favor of a graphical
instance without reloading the rc file and neither can we leave.
- However, this function also checks for `USE_SHORTENED_WORKDIR`
variable and decides which prompt to show based on it. This means that
it someone was setting this variable in their profile file it would
now no longer be respected, however this was never the intention of
that variable, if a change is desired, the variable should simply be
edited in the prompt file directly.
- Removing continual calls to this function each time prompt is redrawn
is worth the very minor inconvenience of no longer supporting
shortened workdirs from externally set variable due to the speed
benefit it gives us, though not that noticeable, it is pretty
significant. Not to mention that this wasn't intended/recommended
usage anyway.
2021-12-18 04:46:02 +01:00
ItsDrike
d048c2a262
Also add ppy alias for default pyhton version
2021-12-18 03:21:23 +01:00
ItsDrike
754bbcbbd6
Also add ppy and ipy aliases
...
- py alias should always preferably use ipython, however if it isn't
available, it does fall back to the pure python interpreter.
- This is useful for running scripts since we would prefer ipython error
output, but also for debugging, etc.
- However since py will use ipython, we didn't have any good way to get
back to pure python unless it's typed in it's full form, which is too
long. Because of this, this adds `ppy` alias, which always points to
the pure python interpreter, no matter if ipython is available or not.
- This also adds a more explicit `ipy` alias, to clearly mark that we
want ipython.
2021-12-18 03:19:59 +01:00
ItsDrike
6f613a1ea5
Fix python aliases
2021-12-18 03:10:16 +01:00
ItsDrike
c606650c7d
Add vimtutor alias for nvim
2021-12-18 03:02:39 +01:00
ItsDrike
ac4b447bb5
Add aliases to quickly configure nvim
2021-12-18 03:02:26 +01:00
ItsDrike
a0dfc5fd09
Add aliases for different python versions
2021-12-18 03:02:02 +01:00
ItsDrike
4dd86fe4cd
Move to jetbrains mono font for alacritty
2021-12-18 00:17:13 +01:00
ItsDrike
bb0d435321
Add a note about dangers of using ↵ symbol
2021-12-15 22:09:43 +01:00
ItsDrike
fd57706a2f
Minor fixes
2021-12-15 22:08:59 +01:00
ItsDrike
39a66f0e30
Hide errors if git status fails
2021-12-15 22:08:01 +01:00
ItsDrike
52877996e4
Move nvim config to it's own repo and link module
2021-12-10 02:15:50 +01:00
ItsDrike
4b92916fd3
Add more comments
...
- Moooooreeee!
2021-12-10 00:55:40 +01:00
ItsDrike
2418031d0c
Don't use opt=true where it doesn't make sense
2021-12-10 00:55:07 +01:00
ItsDrike
8b1d872d37
Add git blame line nvim plugin
2021-12-10 00:53:08 +01:00
ItsDrike
7d3eb5ae69
Add cheat.sh script
2021-12-09 19:05:19 +01:00
ItsDrike
656f29b333
Add comment
2021-12-09 17:39:03 +01:00
ItsDrike
c899a05c34
Remove unused function for debugging
2021-12-09 17:38:28 +01:00
ItsDrike
2fc82d8f37
Use '.' instead of '/' in require
2021-12-09 17:35:07 +01:00
ItsDrike
f0fbf261ec
Manually implement auto mass-renaming using LSP
2021-12-09 17:34:42 +01:00
ItsDrike
bd3ece59b7
Document and cleanup plugins
2021-12-09 01:17:25 +01:00
ItsDrike
b504f10f28
Ignore certain patterns in wildmenu
2021-12-09 01:16:50 +01:00
ItsDrike
cff3a5e70a
Improve docstring about foldlevel option
2021-12-09 01:16:25 +01:00
ItsDrike
d1ad56a69e
Remove simpylfold for python folding (handled by LSP)
2021-12-09 00:58:19 +01:00
ItsDrike
f7516182c3
Support auto-completion with LSP
2021-12-09 00:54:06 +01:00
ItsDrike
50a139f0f0
Add some more mappings
2021-12-09 00:39:13 +01:00
ItsDrike
46ca9189af
Add suport for nvim's LSP
2021-12-08 23:10:05 +01:00
ItsDrike
4eee9b4398
Add firenvim (nvim in browser) plugin
2021-12-08 22:34:30 +01:00
ItsDrike
f6c0441810
Add cheat.sh-vim plugin
2021-12-08 20:12:49 +01:00
ItsDrike
886b79e9a7
Add treesitter AST semantic highlighting
2021-12-08 20:10:40 +01:00
ItsDrike
b9afa56d96
Remove default coc-pyright args for flake8
...
- Default args cause problems when we have other custom flake8 rules
defined in files such as tox.ini since these project-specifc settings
were simply getting ignored in favor of the default args. We should
instead always rely on the project's settings
2021-12-07 22:26:32 +01:00
ItsDrike
5627b96fff
Rename pluginconf/ to plugins/settings/
2021-12-07 22:23:55 +01:00
ItsDrike
8350dc7926
Rewrite entire plugin management system
...
- This encapsulates all plugin related functionalities into the plugins/
folder (and pluginconfig/) instead of relying on utility file.
- It also renames utility/plugins.lua to a more sensible
plugins/packer.lua as it actually only applies for packer plugin
manager.
- The plugins.lua file is now split into 2 files, first holding the list
of all plugins plugins/plugin_list.lua and second one holding the
logic of bootstrapping and running startup on packer.
2021-12-07 22:17:56 +01:00
ItsDrike
b2214eb7af
Remove unused local
2021-12-07 22:16:00 +01:00
ItsDrike
7bfad9cb09
Set the colorscheme to default in theme
...
- We want to do this to activate the autocommands which modify certain
highlight styles. This colorscheme will be set to the proper one from
the plugin configuration anyway, which will override this, but in case
that plugin is no longer desired, we want to have some default there.
2021-12-07 22:13:59 +01:00
ItsDrike
9c8191bfa7
Move non-plugin settings to core/
2021-12-07 22:13:22 +01:00
ItsDrike
768764a899
Use utility module for keymap/abbrev functions
2021-12-06 22:49:03 +01:00
ItsDrike
950d19e1a0
Rewrite plugin management configuration
2021-12-06 22:28:32 +01:00
ItsDrike
61f619566a
Add buffer navigation mappings
2021-12-06 20:54:36 +01:00
ItsDrike
b0b6a12b23
Rewrite picom config
2021-12-06 15:38:45 +01:00
ItsDrike
9625f2b951
Use proper syntax highlighting in fenced codeblocks
2021-12-06 14:08:36 +01:00
ItsDrike
03431e5bc4
Remove unused g local variable definition
2021-12-06 14:08:11 +01:00
ItsDrike
5109286054
Move showmode option to theme.lua
2021-12-06 14:05:00 +01:00
ItsDrike
328adaec75
Enable shiftround
2021-12-06 13:59:10 +01:00
ItsDrike
3dfb695eaf
Split some settings to files section
2021-12-06 13:56:48 +01:00
ItsDrike
afa4c250c5
Move autoindent to indent settings
2021-12-06 13:54:55 +01:00
ItsDrike
88891bb2a4
Don't show current mode
2021-12-06 13:53:32 +01:00
ItsDrike
fbe51f22ef
Show tabs properly
2021-12-06 13:53:03 +01:00
ItsDrike
ea9a73f21a
Improve comments
2021-12-06 13:52:51 +01:00
ItsDrike
b06ced95b8
Rename base.lua to options.lua
2021-12-06 13:50:41 +01:00
ItsDrike
a4ad2c7026
Add nvim-dap
2021-12-06 13:19:16 +01:00
ItsDrike
dce7dd58d0
Switch package manager to packer
2021-12-06 13:18:36 +01:00
ItsDrike
c5baadf07f
Rename plugins.d/ to pluginconf/
2021-12-06 13:15:32 +01:00
ItsDrike
9aeb792628
Convert fzf.vim to fzf.lua
2021-12-06 12:44:42 +01:00
ItsDrike
e8fb4e3614
Move global functions to init.lua
2021-12-05 22:33:23 +01:00
ItsDrike
11baef383b
Override colorscheme's cursor line number color
2021-12-05 20:09:52 +01:00
ItsDrike
f1e9b37e24
Fix set-upstream alias
2021-12-04 02:40:44 +01:00
ItsDrike
0257190209
Support save mapping from insert mode
2021-12-04 00:43:05 +01:00
ItsDrike
1682cfd4ea
Add xmap function
2021-12-03 23:37:56 +01:00
ItsDrike
682a63b9d1
Automatically resize the terminal split
2021-12-03 23:37:44 +01:00
ItsDrike
325c74be91
Small xmobar redesign
2021-12-03 23:09:28 +01:00
ItsDrike
32fa0f518d
Add blank line for nicer formatting
2021-12-03 19:00:47 +01:00
ItsDrike
35e213aa39
Use nvim as editor, not vim
2021-12-03 18:58:42 +01:00
ItsDrike
ea6dc6594a
Add polyglot
2021-12-03 17:33:49 +01:00
ItsDrike
13c47143af
Add auth-log alias
2021-12-03 14:49:02 +01:00
ItsDrike
eb2d3ca2bd
Enable flake8 linting for coc-pyright
2021-12-03 14:45:55 +01:00
ItsDrike
ac438d1480
Add coc-fzf plugin
2021-12-03 14:42:27 +01:00
ItsDrike
cc7c8db10b
Run UpdateRemotePlugins after auto-installing plug
2021-12-03 14:41:16 +01:00
ItsDrike
16e9c61abd
Split load_plugin_file into 2 functions
2021-12-03 14:40:29 +01:00
ItsDrike
69db7bb4d2
Add unused semshi plugin config
2021-12-03 00:37:09 +01:00
ItsDrike
f8540e0b70
Add quickclone git alias
2021-12-02 17:31:04 +01:00
ItsDrike
b267b97c45
Add more git aliases
2021-12-01 19:58:56 +01:00
ItsDrike
bb7a2af9f9
Switch vim config to lua (Full rewrite)
2021-11-30 20:22:51 +01:00
ItsDrike
f0385c4961
Indent with spaces, not tabs
2021-11-30 10:22:20 +01:00
ItsDrike
c75c6fbd87
Remove python config source comment
2021-11-28 19:52:25 +01:00
ItsDrike
6bb055d42f
Add and reorder nvim mappings
2021-11-28 19:40:52 +01:00
ItsDrike
65529ffd1d
Add find and show merge commit aliases
2021-11-26 19:06:51 +01:00
ItsDrike
46f80b190b
Add shortcut for pcmanfm and lf
2021-11-25 21:13:36 +01:00
ItsDrike
2264da5a03
Remove trailing newline
2021-11-25 21:12:04 +01:00
ItsDrike
000a960006
Fix default 'X'-shaped cursor
2021-11-25 21:11:01 +01:00
ItsDrike
0619e887a3
Add lockscreen management script
2021-11-21 23:54:42 +01:00
ItsDrike
8b4be51ca0
Merge branch 'arch' of https://github.com/ItsDrike/dotfiles into arch
2021-11-14 20:59:22 +01:00
ItsDrike
9166b4c051
Update directory aliases
2021-11-14 20:58:43 +01:00
ItsDrike
6d85a4bc40
Fix cftodo alias
2021-11-14 20:57:43 +01:00
ItsDrike
82f60713d4
Add vim-like exist aliases
2021-11-14 20:54:54 +01:00
ItsDrike
2446789d25
Add support for terminal window swallowing
2021-11-14 20:54:15 +01:00
ItsDrike
4bc99d46b5
Fix ip-show alias
2021-10-22 13:19:20 +02:00
ItsDrike
c01d292933
Fix bitcoin price script
2021-10-22 13:19:06 +02:00
ItsDrike
900f5f2706
Add some app-specific xmonad settings
2021-10-15 20:14:11 +02:00
ItsDrike
93f1bd30f0
Use xsecurelock directly instead of DPMS trigger
2021-10-15 20:13:29 +02:00
ItsDrike
27df041884
Adjust xmonad window management shortcuts
2021-10-15 20:13:10 +02:00
ItsDrike
685b7fa387
Improve xmobar design from xmonad log hook
2021-10-15 20:11:11 +02:00
ItsDrike
a8f1442b43
Handle BTC value not available
2021-10-11 20:03:37 +02:00
ItsDrike
b09912c42c
Use esc to stop vim search highlight
2021-10-11 13:43:11 +02:00
ItsDrike
32a22db8a8
Add vim-startify vim startpage
2021-10-03 18:56:33 +02:00
ItsDrike
b97d537b86
Improve vim plugins categories
2021-10-03 18:56:15 +02:00
ItsDrike
e898743503
Add some further XDG env variables
2021-10-03 10:10:40 +02:00
ItsDrike
cfe07183ee
Follow XDG base dir specs for nerdtree bookmarks
2021-10-03 10:10:13 +02:00
ItsDrike
fd245c7758
Add a script for easy linking to articles on my page
2021-10-03 01:01:59 +02:00
ItsDrike
76967ee3e4
Remove coc.vim from rc/ (there's one in plugins.d/)
2021-10-02 21:14:51 +02:00
ItsDrike
b5354fbf4c
Improve NERDTree settings
2021-09-25 02:44:24 +02:00
ItsDrike
8dedca10d2
Add a plugin for proper python folding
2021-09-25 02:43:22 +02:00
ItsDrike
ddc758b6e1
Add default folding settings
2021-09-25 02:42:36 +02:00
ItsDrike
cf79be3216
Add further coc settings
2021-09-25 02:41:56 +02:00
ItsDrike
b0060162f0
Update git signing key and email
2021-09-22 22:26:19 +02:00
ItsDrike
61d1e1269b
Start discord and element in the background
2021-09-16 23:20:20 +02:00
ItsDrike
216369feb1
Auto-wrap markdown text at 119 characters
2021-09-16 22:23:48 +02:00
ItsDrike
f601d345f9
Use coc for language IntelliSense completions
2021-09-15 18:47:58 +02:00
ItsDrike
d35a9d3e83
Fix tab expansion keybindings
2021-09-15 18:46:29 +02:00
ItsDrike
7016282d61
Run udiskie detached
2021-09-06 19:31:49 +02:00
ItsDrike
181f8129be
Add udiskie for simple device mounting
2021-09-06 05:01:26 +02:00
ItsDrike
0128ab129c
Add autostart directory
2021-09-06 04:57:27 +02:00
ItsDrike
83a2c679b5
Update dunst config
2021-09-06 04:16:21 +02:00
ItsDrike
482f5f0213
Replace links with w3m
2021-09-02 17:46:02 +02:00
ItsDrike
a26a3c4c78
Fix autostart
2021-09-02 17:38:48 +02:00
ItsDrike
8f5b8129f6
Add newsboat macros
2021-09-02 17:33:04 +02:00
ItsDrike
d17caa2bdf
Add newsboat config files
2021-09-02 17:18:52 +02:00
ItsDrike
fa7370a745
Add some nerd tree autocmds
...
Co-authored-by: jpie726 <53590846+jpie726@users.noreply.github.com>
2021-08-31 04:24:28 +02:00
ItsDrike
36b3bd57ca
Add default input.conf mpv config
2021-08-31 04:13:18 +02:00
ItsDrike
57ee2783eb
Disable airline in nerdtree
2021-08-31 03:22:21 +02:00
ItsDrike
fcc40600fb
Update mpv input config
2021-08-31 03:04:46 +02:00
ItsDrike
ac3fd001aa
Add bitcoin widget
2021-08-24 17:25:09 +02:00
ItsDrike
742f8f6382
Fix autostarting desktop apps with spaces
2021-08-24 15:40:24 +02:00
ItsDrike
f27836e5d1
Add video zooming keybinds
2021-08-24 02:31:30 +02:00
ItsDrike
1746b23375
Add flameshot config
2021-08-23 02:10:44 +02:00
ItsDrike
59ea70aef4
Show datetime on xsecurelock
2021-08-20 20:11:41 +02:00
ItsDrike
ee5e3a5fd1
Add cfxprofile aliase
2021-08-19 23:26:06 +02:00
ItsDrike
119b6562e2
Wrap bat previews to preview window width
2021-08-19 13:34:27 +02:00
ItsDrike
965f9029fb
Run xss-lock detached
2021-08-19 02:15:09 +02:00
ItsDrike
71c18ed1de
Add lock screen shortcut
2021-08-19 02:14:44 +02:00
ItsDrike
ef45a89ca4
Don't display hostname on lockscreen
2021-08-19 02:09:44 +02:00
ItsDrike
7651f5e7d3
Add screen locking support
2021-08-19 01:42:17 +02:00
ItsDrike
6fa9c41127
Add ~/.local/share/xmonad to avoid home clutter
2021-08-17 08:06:10 +02:00
ItsDrike
00780218bd
Add ability to use pixterm for img previews
2021-08-17 03:51:45 +02:00
ItsDrike
41522e8b0d
Start flameshot with X
2021-08-16 17:57:13 +02:00
ItsDrike
20afa6f2e5
Update shortcuts
2021-08-16 17:54:23 +02:00
ItsDrike
182a68612f
Don't blindly run editable github gist with bash
2021-08-16 17:31:26 +02:00
ItsDrike
1de5142b86
Update vim config
2021-08-16 03:19:56 +02:00
ItsDrike
49b1fb917e
Add compile script
2021-08-16 03:18:07 +02:00
ItsDrike
bfebb33b29
Always enable numlock
2021-08-16 02:00:24 +02:00
ItsDrike
8effc29a97
Don't use dbus-launch with libdbus on arch
2021-08-16 01:45:44 +02:00
ItsDrike
669ec40e9d
Add vimwiki alias
2021-08-16 00:37:04 +02:00
ItsDrike
e0f8e0431b
Add vimwiki
2021-08-15 15:24:12 +02:00
ItsDrike
05e63ef139
Change ld alias to ldir (avoid conflicts)
2021-08-15 15:23:22 +02:00
ItsDrike
cf60ccb97e
Use lowercase A for $TERMINAL
2021-08-14 19:50:15 +02:00
ItsDrike
4f6e9f8127
Support milisecond precision
2021-08-13 14:04:20 +02:00
ItsDrike
ac8f461bc8
Move command runtime to left prompt
2021-08-13 12:31:39 +02:00
ItsDrike
77b4308c13
Add option to show command runtime
2021-08-13 12:31:10 +02:00
ItsDrike
a7b98a14a8
Map multimedia actions to more common keys
2021-08-09 16:10:36 +02:00
ItsDrike
9c1f8348ff
Make cd act as pushd
2021-08-06 02:11:37 +02:00
ItsDrike
dfcf61c1d9
Update alacritty colorscheme
2021-08-04 13:53:03 +02:00
ItsDrike
ba4f52b8a2
Run xmonad with dbus for discord notifications
2021-08-04 01:36:04 +02:00
ItsDrike
ddfe420cb0
Define TMOUT in .zshrc
2021-08-02 00:43:02 +02:00
ItsDrike
6d5bf3ac97
Add compositor start/kill shortcuts
2021-07-29 05:04:06 +02:00
ItsDrike
ad87763a8a
Move from scrot to flameshot (screenshtos)
2021-07-29 05:02:32 +02:00
ItsDrike
904e3ff1df
Remove autostart configuration
2021-07-28 05:31:36 +02:00
ItsDrike
4f6f4bc8e6
Add gtk config folders
2021-07-28 05:31:01 +02:00
ItsDrike
b3033e4329
Add XDG user-dirs config files
2021-07-28 05:26:08 +02:00
ItsDrike
b0cd53e47e
Don't leave visual mode after indenting
2021-07-27 02:50:50 +02:00
ItsDrike
1a35c2fba6
Add script to start lf with ueberzug
2021-07-27 01:43:04 +02:00
ItsDrike
672e52d4b1
Remove old previewer
2021-07-26 20:06:42 +02:00
ItsDrike
72023e777e
Improve file-preview implementation
2021-07-26 20:04:29 +02:00
ItsDrike
5d13b073ad
Add image previews to lf
2021-07-26 19:10:56 +02:00
ItsDrike
7b44531968
Remove zsh-you-should-use, causes issues
2021-07-25 17:15:45 +02:00
ItsDrike
9f50a4edfa
Add lf configuration
2021-07-25 17:14:31 +02:00
ItsDrike
1fadd7f1b2
Fix terminal env var typo
2021-07-24 18:26:21 +02:00
ItsDrike
a4e08bc977
Use dual_kawase picom bluring
2021-07-24 14:51:54 +02:00
ItsDrike
5917dc8d85
Use picom for transparency
2021-07-24 13:54:42 +02:00
ItsDrike
5bf013f25d
Disable xcompmgr, causes issues
2021-07-24 00:03:29 +02:00
ItsDrike
b327ae8336
Make alacritty transparent (0.9)
2021-07-24 00:01:53 +02:00
ItsDrike
88f418d223
Sort configs
2021-07-23 19:14:22 +02:00
ItsDrike
b573f98e14
Fix jump to last position
2021-07-23 19:14:04 +02:00
ItsDrike
a6ad237b7c
Remove cfvim alias, add gdc
2021-07-23 19:13:35 +02:00
ItsDrike
dd42a281e2
Add abbreviations
2021-07-23 18:33:57 +02:00
ItsDrike
41bbfbffb9
Add more vim mappings
2021-07-23 18:33:12 +02:00
ItsDrike
9f0061eaf3
Add you-should-use zsh plugin
2021-07-23 18:12:40 +02:00
ItsDrike
cc74d65b0a
Decentralize nvim config
2021-07-23 18:08:03 +02:00
ItsDrike
5e0fcc415b
Update zshrc
2021-07-23 18:06:44 +02:00
ItsDrike
0efe33b80d
Move z.lua to systemwide dir
2021-07-23 02:00:56 +02:00
ItsDrike
4988a0b970
Add autostart script from ~/.config/autostart
2021-07-22 22:21:27 +02:00
ItsDrike
fe61af8f62
Use xprofile to start necessary init apps
2021-07-22 22:20:53 +02:00
ItsDrike
dbd37392b8
Add dunst for notifications
2021-07-22 21:56:07 +02:00
ItsDrike
dbb62c1588
Add dmenu scripts
2021-07-22 21:14:54 +02:00