Commit Graph

273 Commits

Author SHA1 Message Date
8c37dc2316 vim:vimrc.d:*: Use " instead of # in header lines 2021-07-13 16:52:42 +02:00
ca219a3a1d vim:keybindings: Add <leader>cd - cd to git root 2021-05-22 19:13:36 +02:00
28385a0a1e vim: Set termdebug_wide 2021-05-21 10:18:02 +02:00
45a2ab8a20 vim:keybindings: Add gp to reselect last paste 2021-05-15 04:07:22 +02:00
724a6a455d vim:keybindings: Add // to search for selection 2021-05-15 04:06:20 +02:00
3aa722842d vim: Use tree style listing in netrw 2021-04-28 01:37:42 +02:00
22501182ce vim: Use timer instead of autocommand for autoread 2021-04-26 17:56:15 +02:00
b2962a5ce1 vim:ctags: Exclude files in build directory 2021-04-12 21:01:30 +02:00
3394cafca3 vim:plugins:ctags: Ignore node_modules/ and .git/ 2021-03-10 13:41:48 +01:00
f746909e3a vim: Enable &autoread + autocmd for regular check 2021-02-17 02:38:15 +01:00
0caa30d6ef vim: Enable mouse in all modes 2021-01-15 12:40:36 +01:00
4a0b9e5cf1 vim: Disable swapfile-warning instead of the files
This should make it possible to actually recover something on a crash
without those warnings.
2020-12-27 23:55:39 +01:00
91091eb4c4 vim: Set bat (fzf preview) theme 2020-12-24 02:54:19 +01:00
350158af1a vim: Add binding for fzf's :Lines 2020-12-24 02:48:59 +01:00
d9971b7672 vim: Create ftdetect for arm + auto plugin loading 2020-12-24 02:42:54 +01:00
7c6909c0bf vim: Move vimtex settings into tex ftplugin
And load vimtex automatically. I discarded the autocommand as vimtex
only loads a small ftdetect script for tex and the rest of the plugin is
made up of ftplugins, indent files, etc. by itself.
The overhead of the autocmd feels bigger than just loading the small
component and letting vim doing the rest.
(But this is in now way tested/benchmarked. That is just how I feel and
it makes it a tad cleaner)
2020-12-24 02:31:10 +01:00
5b45049070 vim: Disable pesky swap files
For now... Probably until my first crash with unsaved changes...
But right now they just annoy me.
2020-12-24 02:01:11 +01:00
c3f8f3761d vim: Use theme colors in fzf 2020-12-24 02:00:42 +01:00
00c6f56c69 vim: Use $XDG_DATA_HOME for spell files 2020-12-24 01:59:27 +01:00
e6262b6593 vim: Load other always-on plugins too
And move the plugin specific keybindings into 40-keybindings.vim.
`packloadall` sources the plugins directly in contrast to `packadd`.
Because of that we can access the `g:loaded_*` variables and do not have
to specify our own keybindings for vim-surround as now the user bindings
are loaded later and overwrite possible clashes.
2020-12-23 19:26:05 +01:00
b6e92aef0e vim: Load 'easy' always-on plugins automatically
Load always-on plugins that do not need extra configuration
automatically through vim's pack/*/start directory.
2020-12-23 19:19:21 +01:00
ab53243db8 vim: Enable ftplugins at the very end
Fix error that the highlighting group 'zshOption' does not exist when
editing zsh files. I guess this is the case since ftplugins were loaded
before syntax was enabled.
2020-12-23 14:53:26 +01:00
b9f26d7482 vim: Split vimrc into vimrc.d/ 2020-12-23 01:42:42 +01:00