set shiftwidth=2
set softtabstop=2
-
" setup Vundle:
set nocompatible " be iMproved, required
filetype off " required
Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'godlygeek/tabular'
+Plugin 'SirVer/ultisnips'
+Plugin 'honza/vim-snippets'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
+" UltiSnips configuration
+let g:UltiSnipsSnippetDirectories = ['/home/andrew/.snippets']
+let g:UltiSnipsExpandTrigger = '<tab>'
+let g:UltiSnipsJumpForwardTrigger = '<tab>'
+let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
+set rtp-=$HOME/.vim
+set rtp^=~/.vim/bundle/ultisnips
+set rtp+=~/.vim/bundle/ultisnips/after
+set rtp^=$HOME/.vim
+set vi=
+filetype plugin on
+
+
" markdown group for vim-pandoc-syntax:
augroup pandoc_syntax
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
endfunction
set tabline=%!MyTabLine()
endif
+