vim: Load 'easy' always-on plugins automatically

Load always-on plugins that do not need extra configuration
automatically through vim's pack/*/start directory.
This commit is contained in:
2020-12-23 19:19:21 +01:00
parent ba2e85c988
commit b6e92aef0e
4 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1 @@
../opt/delimitMate/

View File

@@ -0,0 +1 @@
../opt/onedark.vim/

View File

@@ -0,0 +1 @@
../opt/vim-gitgutter/

View File

@@ -1,4 +1,7 @@
" Plugins ######################################################################
" Load all plugins in pack/*/start
packloadall
" ARM assembly syntax highlighting
autocmd BufNewFile,BufRead *.s,*.S packadd! arm-syntax-vim | set filetype=arm
" Auto completion
@@ -9,19 +12,13 @@ if (has('patch-8.1.1719') || has('nvim'))
packadd! coc.nvim
source $XDG_CONFIG_HOME/vim/coc.nvim.vim
endif
" Automatically close parentheses, brackets, quotes, etc.
packadd! delimitMate
" Fuzzy finder
packadd! fzf
packadd! fzf.vim
nmap <leader>f :Files<CR>
" Theme
packadd! onedark.vim
" LaTeX
autocmd BufNewFile,BufRead *.tex packadd! vimtex
\ | source $XDG_CONFIG_HOME/vim/vimtex.vim
" Git information
packadd! vim-gitgutter
" ctags
packadd! vim-gutentags
nmap <leader>t :Tags<CR>