summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-31 06:48:30 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2015-12-31 06:48:30 +0100
commit10ebbb74e3a59d6789f22d20a739c5f91857423d (patch)
tree7b2217caa02068dae4a368378b8016456f3f42e7 /.config/vim/vimrc
parent8f4cc61d234b3fa29bfa74d98015ede96e1ac8a7 (diff)
downloaddotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.tar.gz
dotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.tar.bz2
dotfiles-10ebbb74e3a59d6789f22d20a739c5f91857423d.zip
vim: Alt ultisnips (and vim-snippets) plugins
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc14
1 files changed, 13 insertions, 1 deletions
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