diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/.vimrc | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/configs/.vimrc b/configs/.vimrc index 36417a4c1d62..5b08f2c778a7 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 <tab> if you use https://github.com/Valloric/YouCompleteMe. -let g:UltiSnipsExpandTrigger="<c-x>" -" let g:UltiSnipsJumpForwardTrigger="<c-j>" -" let g:UltiSnipsJumpBackwardTrigger="<c-k>" - - " map jk to <Esc> inoremap jk <Esc> @@ -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/<C-r>"<CR> + + " trim trailing whitespace on save autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e |