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:
1
.config/vim/pack/plugins/start/delimitMate
Symbolic link
1
.config/vim/pack/plugins/start/delimitMate
Symbolic link
@@ -0,0 +1 @@
|
||||
../opt/delimitMate/
|
||||
1
.config/vim/pack/plugins/start/onedark.vim
Symbolic link
1
.config/vim/pack/plugins/start/onedark.vim
Symbolic link
@@ -0,0 +1 @@
|
||||
../opt/onedark.vim/
|
||||
1
.config/vim/pack/plugins/start/vim-gitgutter
Symbolic link
1
.config/vim/pack/plugins/start/vim-gitgutter
Symbolic link
@@ -0,0 +1 @@
|
||||
../opt/vim-gitgutter/
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user