Commit Graph

430 Commits

Author SHA1 Message Date
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
8de39de335 vim: Fix name clashing of backup, undo, swap files 2020-12-22 20:31:30 +01:00
51b79d0f15 vim: Fix binding conflict with ctags and terminal 2020-12-22 20:11:09 +01:00
a20b637ad6 vim: Sort plugin order 2020-12-22 20:06:24 +01:00
914e8a1992 repo: Update submodules & cleanup gitmodules
Update all submodules to the newest commit.
Change submodule names in `.gitmodules` from local path to repo names.
Sort and group `.gitmodules` by program that uses it.
Remove the clone of 'fzf-tab' as my pull request got merged.
2020-12-22 16:22:33 +01:00
c74cfa3901 vim,git: Integrate ctags 2020-12-21 13:55:49 +01:00
ee5086690e vim: Combine language related plugins with autocmd 2020-12-19 02:56:42 +01:00
da732648f8 vim: Add terminal related settings 2020-12-19 02:55:23 +01:00
fa2b792d38 vim: Write out 'autocmd' 2020-12-07 16:36:54 +01:00
b7d9bd6d9d vim: Add arm syntax highlighting 2020-12-05 01:18:47 +01:00
d68f6e4e34 vim:ftplugin:python: Maximum line length of 79 2020-11-29 13:53:41 +01:00
druckdev
40da536164 vim: Add bindings around spell check
Add a spell-toggle, spelllang-cycle and spelllang-set binding.
2020-11-25 02:16:18 +01:00
druckdev
90ab5eaf25 vim: Improve handling of German keybindings
Automatically map them when setting the spelllang to de and unmap them
when switching back to another language.
2020-11-25 02:14:22 +01:00
druckdev
0ff4ffd67d vim: Add scrolloffset and enable mouse 2020-11-23 02:23:45 +01:00
druckdev
a5b47adc0a vim: Get rid of ruler at 100 columns 2020-11-23 02:20:44 +01:00
druckdev
40617b11ff vim: Fix error on resourcing vimrc
Fixes error 'E174: Command already exists: add ! to replace it' that
occured when saving vim files and the config was resourced.
2020-11-23 02:17:28 +01:00
druckdev
423a786192 vim: Move ftplugins into after/
All of these are meant as additions and should not override vims default
ftplugins.
2020-11-23 02:07:38 +01:00
druckdev
d85607e143 vim,zathura: Setup LaTeX file development
LaTeX files can now be automatically compiled in vim and jumping into
the relevant lines from PDF to code or the other way around is possible
too.
Add the LaTeX coc-language server as well.

Thanks to @AurelWeinhold
2020-11-23 01:49:19 +01:00
druckdev
ee4f35b146 vim: Add diff command for unsaved file changes 2020-11-22 13:35:36 +01:00
druckdev
00bf2ffd37 vim:coc: Add python language server 2020-11-16 20:33:26 +01:00
druckdev
a1b988838c vim:coc: Add C and shell language servers 2020-11-08 03:22:45 +01:00
druckdev
51643beddf fzf: Add DEFAULT_COMMAND and vim :Files mapping
Add FZF_DEFAULT_COMMAND that displays hidden files as well, but ignores
.git directories.
Add :Files mapping in vim. Because it is bound to <leader>f, the leader
key mapping had to be moved to the top of the file.
2020-11-08 03:19:40 +01:00
druckdev
c468af1fc2 vim: Display tab characters 2020-11-08 03:18:54 +01:00
druckdev
2bebc2f9b5 vim: Fix plugin order 2020-11-07 03:21:10 +01:00
druckdev
00c6274d2d vim: Add fzf plugin
Symlink the fzf repo into the plugin directory and `packadd` it.
Add fzf.vim (that depends on the base fzf as plugin).
2020-11-07 03:19:33 +01:00
druckdev
d27b25c46d vim: Jump table bindings
Center cursor after jumping.
Add <S-Tab> binding to jump backwards to match the <Tab> binding (jump
forward).
2020-11-05 13:13:05 +01:00
druckdev
fdaa2dedb7 vim: Add surround and delimitMate plugins
These plugins add functionality to automatically close and surround text
with parantheses, brackets, quotes, etc.
Overwrite the vim-surround default bindings since they conflict with my
substitute bindings.
2020-11-05 13:08:04 +01:00
druckdev
2f198cdb2e vim:xdg: Fix bug that creates ~/~
Fix bug that when the XDG Base Directory variables are not set on
startup a directory "~" is created in $HOME instead of falling back to
the default values.
2020-11-03 14:12:16 +01:00
druckdev
fe5a65fa23 zsh: Make neovim the man pager
And disable vim's spell check in man pages.
2020-11-03 01:11:40 +01:00
druckdev
34219051e3 nvim: Fix coc.nvim and install it automatically
Fix bug introduced in c0f7b43 that stopped the sourcing of coc.nvim in
neovim.
Add command to the dotbot installation config to install coc.nvim
automatically after pulling its submodule.
2020-11-03 00:25:00 +01:00
druckdev
0fe0679276 all: Update submodules 2020-11-03 00:21:46 +01:00
druckdev
f8485e03e3 vim: Add Umlaute + sz and merge redundant bindings
Add bindings for typing Umlaute and sz.
Merge redundant bindings that are bound in multiple modes.
2020-11-02 01:59:28 +01:00
druckdev
7a5c898621 vim: Autoindent new lines
This option is not set in vanilla vim by default.
2020-10-26 13:38:09 +01:00
druckdev
e8d1ae12c7 vim:ftplugin: Add python and xdefaults 2020-10-26 13:36:27 +01:00
druckdev
5a238e165c vim: Unset joinspaces 2020-10-13 00:46:57 +02:00
druckdev
164af2e500 vim: Automatic formatting 2020-10-10 00:30:09 +02:00
druckdev
5f4a6862ab vim: Add binding to correct with first suggestion 2020-10-10 00:28:37 +02:00
druckdev
d14a84fb9c vim: Turn on showcmd in vim like in neovim 2020-10-10 00:27:46 +02:00
druckdev
4fafd8a99a vim: Improve command-line completion
Turn on wildmenu (Default in neovim).
Let vim first complete the longest common string between matches before
seleting full matches. (Similar to completion done by bash or zsh)
2020-10-10 00:22:24 +02:00
druckdev
646d1bc7c4 vim: Bind Ctrl-Backspace also on command-line 2020-10-10 00:05:22 +02:00
druckdev
c0f7b43dac vim: Load coc.nvim only with vim >= 8.1.1719 2020-10-10 00:03:48 +02:00
druckdev
027204615b vim: Use EN instead of EN_US dict for spell check
I do not care about color/colour etc.
2020-10-10 00:01:19 +02:00
druckdev
11819cc359 vim: Add more binds for split view navigation 2020-09-28 04:13:45 +02:00
druckdev
f36c83254b vim: Modify pane switching keybindings
Control hjkl is faster to type, especially when changing more than once.
2020-09-25 02:17:07 +02:00
druckdev
b301cb5045 vim: Add substitution binding for visual mode too 2020-09-25 00:58:21 +02:00