Add snippets and try to fix up diff some more
This commit is contained in:
parent
6efcae5172
commit
0c2859a39d
1 changed files with 9 additions and 1 deletions
10
.vimrc
10
.vimrc
|
@ -25,6 +25,8 @@ if has('nvim')
|
|||
Plug 'windwp/nvim-autopairs'
|
||||
Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'}
|
||||
endif
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'adelarsq/vim-matchit'
|
||||
Plug 'alvan/vim-closetag'
|
||||
Plug 'andymass/vim-matchup'
|
||||
|
@ -49,12 +51,18 @@ if has('nvim')
|
|||
|
||||
|
||||
"" CHADTree config
|
||||
if !&diff
|
||||
if &diff
|
||||
else
|
||||
autocmd VimEnter * CHADopen --nofocus
|
||||
endif
|
||||
nnoremap <leader>v <cmd>CHADopen<cr>
|
||||
endif
|
||||
|
||||
"" Ultrasnips
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||
|
||||
"" Vim Closetag
|
||||
let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml'
|
||||
|
||||
|
|
Loading…
Reference in a new issue