vim-config/vimrc.d/34-ultisnips.vim
2024-05-05 13:27:00 +08:00

20 lines
685 B
VimL

" Ultisnips configurations
packadd! ultisnips
" Uncomment if want some default snippets
packadd! snippets
" Trigger configuration. You need to change this to something other than <tab>
" if you use one of the following:
" - https://github.com/Valloric/YouCompleteMe
" - https://github.com/nvim-lua/completion-nvim
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
" Snippets directories
let g:UltiSnipsSnippetDirectories=["snips", "UltiSnips"]
let g:UltiSnipsSnippetStorageDirectoryForUltiSnipsEdit=g:CONFIGPATH . "/snips"