aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-12-10 12:03:36 +0800
committerGuangxiong Lin <[email protected]>2021-12-10 12:03:36 +0800
commit5b65b54f8e71171e97501d73554764e1b751fa06 (patch)
tree5d2e9591521e22ca0fd0d53a63ef479e5e332d7d
parenteb432fbb11459c1ee1bd10dc7c50230b7f245ede (diff)
downloaddotfiles-5b65b54f8e71171e97501d73554764e1b751fa06.tar.gz
dotfiles-5b65b54f8e71171e97501d73554764e1b751fa06.tar.bz2
dotfiles-5b65b54f8e71171e97501d73554764e1b751fa06.zip
Add ultisnips vim plug
-rw-r--r--.vim/plugin/init.vim2
-rw-r--r--.vim/plugin/ultisnips.vim3
2 files changed, 5 insertions, 0 deletions
diff --git a/.vim/plugin/init.vim b/.vim/plugin/init.vim
index 75d4871..7a01616 100644
--- a/.vim/plugin/init.vim
+++ b/.vim/plugin/init.vim
@@ -30,6 +30,8 @@ call plug#begin('~/.vim/plugged')
Plug 'Valloric/YouCompleteMe', {
\ 'do': function('BuildYCM'),
\ }
+Plug 'SirVer/ultisnips'
+Plug 'honza/vim-snippets'
Plug 'prabirshrestha/vim-lsp'
Plug 'mbbill/undotree'
diff --git a/.vim/plugin/ultisnips.vim b/.vim/plugin/ultisnips.vim
new file mode 100644
index 0000000..579cd03
--- /dev/null
+++ b/.vim/plugin/ultisnips.vim
@@ -0,0 +1,3 @@
+let g:UltiSnipsExpandTrigger='<c-j>'
+let g:UltiSnipsJumpForwardTrigger='<c-j>'
+let g:UltiSnipsJumpBackwardTrigger='<c-k>'