diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2015-12-31 06:48:30 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2015-12-31 06:48:30 +0100 |
commit | 10ebbb74e3a59d6789f22d20a739c5f91857423d (patch) | |
tree | 7b2217caa02068dae4a368378b8016456f3f42e7 | |
parent | 8f4cc61d234b3fa29bfa74d98015ede96e1ac8a7 (diff) | |
download | dotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.tar.gz dotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.tar.bz2 dotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.zip |
vim: Alt ultisnips (and vim-snippets) plugins
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 |