diff options
author | katherine <shmibs@shmibbles.me> | 2018-03-17 17:56:58 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-03-17 17:56:58 -0700 |
commit | dab6a604413f1f3def6f6e60c9a3e5e0ba69a1c8 (patch) | |
tree | ec73fbe2d6969f9fe147977e0dbd4dad950d5fa4 | |
parent | db746f7f5e5ada0097697ff455d33983dabe4f8f (diff) | |
download | dotfiles-dab6a604413f1f3def6f6e60c9a3e5e0ba69a1c8.tar.gz |
add ultisnips in vimrc
-rw-r--r-- | .vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -45,6 +45,9 @@ Plugin 'itchyny/lightline.vim' Plugin 'tomtom/tcomment_vim' +Plugin 'SirVer/ultisnips' +Plugin 'honza/vim-snippets' + call vundle#end() @@ -64,6 +67,11 @@ set ttimeoutlen=100 "toggle gundo pane nnoremap <Leader>u :GundoToggle<CR> +"snippet bindings +let g:UltiSnipsExpandTrigger="<tab>" +let g:UltiSnipsJumpForwardTrigger="<c-m>" +let g:UltiSnipsJumpBackwardTrigger="<c-,>" + "lightline colours. modded from 16color function! s:Lightline_palette_init() let l:black = [ '#000000', 0 ] @@ -342,6 +350,7 @@ function! Settings_elixir() setlocal softtabstop=2 "mappings nnoremap <buffer> -- O#<Space> + inoremap <buffer> do<CR> end<Esc>hhido<CR><Esc>O endfunction function! Settings_haskell() |