diff --git a/vimrc b/vimrc index 1870c3d..dec61aa 100644 --- a/vimrc +++ b/vimrc @@ -74,6 +74,14 @@ Plugin 'pangloss/vim-javascript' " https://github.com/lifepillar/vim-mucomplete Plugin 'lifepillar/vim-mucomplete' +" ultisnips +" https://github.com/sirver/UltiSnips +Plugin 'SirVer/ultisnips' +" and some snippets +" https://github.com/honza/vim-snippets +Plugin 'honza/vim-snippets' + + " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required @@ -241,6 +249,13 @@ set completeopt+=noinsert set shortmess+=c " Shut off completion messages set belloff+=ctrlg " If Vim beeps during completion +call add(g:mucomplete#chains['default'], 'ulti') + +" ultisnips +" Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. +let g:UltiSnipsExpandTrigger="u" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" " NERDtree nnoremap :NERDTreeFocus