diff --git a/usbify/vim/.vimrc b/usbify/vim/.vimrc index 604e39726..db8a40b4e 100644 --- a/usbify/vim/.vimrc +++ b/usbify/vim/.vimrc @@ -19,6 +19,7 @@ Plugin 'tpope/vim-fugitive' " All of your Plugins must be added before the following line Plugin 'Raimondi/delimitMate' Plugin 'Valloric/YouCompleteMe' +Plugin 'airblade/vim-gitgutter' Plugin 'kien/ctrlp.vim' Plugin 'mileszs/ack.vim' Plugin 'pangloss/vim-javascript' @@ -26,7 +27,7 @@ Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/syntastic' Plugin 'sickill/vim-monokai' Plugin 'sjl/clam.vim' -Plugin 'airblade/vim-gitgutter' +Plugin 'terryma/vim-multiple-cursors' call vundle#end() " required @@ -64,8 +65,21 @@ set conceallevel=1 set concealcursor=nvic " JavaScript thanks to pangloss/vim-javascript -let g:javascript_conceal_function = "ƒ" -match ErrorMsg /ƒ/ +" let g:javascript_conceal_function = "ƒ" +" match ErrorMsg /ƒ/ + + +" Ultisnips +" Track the engine. +Plugin 'SirVer/ultisnips' + +" Snippets are separated from the engine. Add this if you want them: +Plugin 'honza/vim-snippets' + +" Trigger configuration. Do not use if you use https://github.com/Valloric/YouCompleteMe. +let g:UltiSnipsExpandTrigger="" +" let g:UltiSnipsJumpForwardTrigger="" +" let g:UltiSnipsJumpBackwardTrigger="" @@ -121,6 +135,13 @@ nnoremap xh3 :execute '3match none' nnoremap xhh :execute 'match none' :execute '2match none' :execute '3match none' +" pasteboard copy & paste +nnoremap V"+y +vnoremap "+y +nnoremap "+p +vnoremap "+p + + " add 80 character wrap line highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.\+/