Removes snippets and adds plugins
This commit is contained in:
parent
1ea6dc7f90
commit
7d5ad2b2b9
1 changed files with 7 additions and 13 deletions
|
@ -160,19 +160,6 @@ set conceallevel=1
|
||||||
set concealcursor=nvic
|
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>
|
" map jk to <Esc>
|
||||||
inoremap jk <Esc>
|
inoremap jk <Esc>
|
||||||
|
|
||||||
|
@ -315,6 +302,9 @@ syntax enable
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme OceanicNext
|
colorscheme OceanicNext
|
||||||
|
|
||||||
|
set history=1000
|
||||||
|
set undolevels=1000
|
||||||
|
|
||||||
set t_Co=255
|
set t_Co=255
|
||||||
|
|
||||||
|
|
||||||
|
@ -404,6 +394,10 @@ nnoremap L $
|
||||||
vnoremap L $
|
vnoremap L $
|
||||||
|
|
||||||
|
|
||||||
|
" Search for visually selected text
|
||||||
|
vnoremap // y/<C-r>"<CR>
|
||||||
|
|
||||||
|
|
||||||
" trim trailing whitespace on save
|
" trim trailing whitespace on save
|
||||||
autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e
|
autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue