From 10ebbb74e3a59d6789f22d20a739c5f91857423d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 31 Dec 2015 06:48:30 +0100 Subject: vim: Alt ultisnips (and vim-snippets) plugins --- .config/vim/bundle/ultisnips | 1 + .config/vim/bundle/vim-snippets | 1 + .config/vim/vimrc | 14 +++++++++++++- .gitmodules | 6 ++++++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 160000 .config/vim/bundle/ultisnips create mode 160000 .config/vim/bundle/vim-snippets diff --git a/.config/vim/bundle/ultisnips b/.config/vim/bundle/ultisnips new file mode 160000 index 0000000..dbd43ad --- /dev/null +++ b/.config/vim/bundle/ultisnips @@ -0,0 +1 @@ +Subproject commit dbd43ad27cbfed14c9dc3de6d5acb5f4edb8f649 diff --git a/.config/vim/bundle/vim-snippets b/.config/vim/bundle/vim-snippets new file mode 160000 index 0000000..1f8a204 --- /dev/null +++ b/.config/vim/bundle/vim-snippets @@ -0,0 +1 @@ +Subproject commit 1f8a204b5cd7e6911d7b650c819af4e7ac9922b6 diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 7b0f2fb..4d9b30d 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -99,7 +99,7 @@ endif map M :%s/ $//g " use Tab to switch between current and last buffer -nmap :b# +"nmap :b# map :NERDTreeToggle @@ -174,6 +174,18 @@ autocmd BufWinLeave * call clearmatches() set wildignore+=Tests/*,*.swp " Linux/MacOSX +let g:UltiSnipsExpandTrigger = '' +let g:UltiSnipsListSnippets = '' +let g:UltiSnipsJumpForwardTrigger = '' +let g:UltiSnipsJumpBackwardTrigger = '' +let g:UltiSnipsSnippetsDir = '~/.config/vim/UltiSnips/' +let g:snips_author = 'Benjamin Franzke ' + + +" If you want :UltiSnipsEdit to split your window. +let g:UltiSnipsEditSplit="vertical" + + call pathogen#infect() colorscheme tangoX diff --git a/.gitmodules b/.gitmodules index 96c523c..d178921 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,9 @@ [submodule ".config/vim/bundle/editorconfig-vim"] path = .config/vim/bundle/editorconfig-vim url = https://github.com/editorconfig/editorconfig-vim +[submodule ".config/vim/bundle/ultisnips"] + path = .config/vim/bundle/ultisnips + url = https://github.com/SirVer/ultisnips +[submodule ".config/vim/bundle/vim-snippets"] + path = .config/vim/bundle/vim-snippets + url = https://github.com/honza/vim-snippets -- cgit