Dotfiles/site-modules/core/files/vim/plugin/ultisnips.vim
Ade Attwood 80239af169 refactor(core): start to make dotfiles public
This is the first commit that brings the privet dotfiles to a public
reop previously this was all one puppet module. Now this has been split
out so I can put all of the private files in a private puppet module
2020-09-20 06:22:17 +01:00

16 lines
489 B
VimL

"
" Config for UltiSnips config
"
let g:UltiSnipsSnippetsDir = "~/.vim/UltiSnips"
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-j>"
let g:UltiSnipsJumpBackwardTrigger="<c-k>"
let g:snips_author = "Ade Attwood"
let g:snips_email = "code@adeattwood.co.uk"
"
" Run super tab script on UltiSnipsExpandTrigger to enable ultisnips and emmet
" on tab press
"
au InsertEnter * exec "inoremap <silent> " . g:UltiSnipsExpandTrigger . " <C-R>=aa#supertab#expand()<cr>"