Add snippets and try to fix up diff some more

This commit is contained in:
Leon Grünewald 2022-10-04 11:22:50 +02:00
parent 6efcae5172
commit 0c2859a39d

10
.vimrc
View file

@ -25,6 +25,8 @@ if has('nvim')
Plug 'windwp/nvim-autopairs' Plug 'windwp/nvim-autopairs'
Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'} Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'}
endif endif
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'adelarsq/vim-matchit' Plug 'adelarsq/vim-matchit'
Plug 'alvan/vim-closetag' Plug 'alvan/vim-closetag'
Plug 'andymass/vim-matchup' Plug 'andymass/vim-matchup'
@ -49,12 +51,18 @@ if has('nvim')
"" CHADTree config "" CHADTree config
if !&diff if &diff
else
autocmd VimEnter * CHADopen --nofocus autocmd VimEnter * CHADopen --nofocus
endif endif
nnoremap <leader>v <cmd>CHADopen<cr> nnoremap <leader>v <cmd>CHADopen<cr>
endif endif
"" Ultrasnips
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
"" Vim Closetag "" Vim Closetag
let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml' let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml'