diff options
m--------- | .config/vim/bundle/ultisnips | 0 | ||||
m--------- | .config/vim/bundle/vim-snippets | 0 | ||||
-rw-r--r-- | .config/vim/vimrc | 14 | ||||
-rw-r--r-- | .gitmodules | 6 |
4 files changed, 19 insertions, 1 deletions
diff --git a/.config/vim/bundle/ultisnips b/.config/vim/bundle/ultisnips new file mode 160000 +Subproject dbd43ad27cbfed14c9dc3de6d5acb5f4edb8f64 diff --git a/.config/vim/bundle/vim-snippets b/.config/vim/bundle/vim-snippets new file mode 160000 +Subproject 1f8a204b5cd7e6911d7b650c819af4e7ac9922b 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 <Tab> :b#<CR> +"nmap <Tab> :b#<CR> map <C-n> :NERDTreeToggle<CR> @@ -174,6 +174,18 @@ autocmd BufWinLeave * call clearmatches() set wildignore+=Tests/*,*.swp " Linux/MacOSX +let g:UltiSnipsExpandTrigger = '<tab>' +let g:UltiSnipsListSnippets = '<c-tab>' +let g:UltiSnipsJumpForwardTrigger = '<c-j>' +let g:UltiSnipsJumpBackwardTrigger = '<c-k>' +let g:UltiSnipsSnippetsDir = '~/.config/vim/UltiSnips/' +let g:snips_author = 'Benjamin Franzke <bfr@qbus.de>' + + +" 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 |