From 2ab0212180ffcd1a1367a52517ffaa0174eb9f2c Mon Sep 17 00:00:00 2001 From: yushyin Date: Sun, 27 Nov 2016 13:07:49 +0100 Subject: Vim: Replace ultisnips with neosnippet --- vim/vimrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 6f79be6..a3faa66 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -60,9 +60,12 @@ if neobundle#tap('vimfiler.vim') let neobundle#hooks.on_source = s:plugrc . '/vimfiler.rc.vim' call neobundle#untap() endif -if neobundle#tap('ultisnips') - let g:UltiSnipsForwardTrigger = "" - let g:UltiSnipsBackwardTrigger = "" +if neobundle#tap('neosnippet.vim') + let g:neosnippet#snippets_directory = + \ $XDG_CONFIG_HOME . '/vim/snippets' + imap (neosnippet_expand_or_jump) + smap (neosnippet_expand_or_jump) + xmap (neosnippet_expand_or_jump) call neobundle#untap() endif if neobundle#tap('clang_complete') -- cgit v1.2.3-24-g4f1b