diff --git a/configs/.vimrc b/configs/.vimrc index 36417a4c1..5b08f2c77 100644 --- a/configs/.vimrc +++ b/configs/.vimrc @@ -160,19 +160,6 @@ set conceallevel=1 set concealcursor=nvic -" 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="" - - " map jk to inoremap jk @@ -315,6 +302,9 @@ syntax enable set background=dark colorscheme OceanicNext +set history=1000 +set undolevels=1000 + set t_Co=255 @@ -404,6 +394,10 @@ nnoremap L $ vnoremap L $ +" Search for visually selected text +vnoremap // y/" + + " trim trailing whitespace on save autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e