feature check

This commit is contained in:
ray 2018-12-12 09:23:03 +00:00
parent f4ca3f247c
commit d332caa254
1 changed files with 4 additions and 2 deletions

2
vimrc
View File

@ -1236,8 +1236,10 @@ iabbrev ct'' content-type: '';
autocmd InsertLeave * :set number relativenumber autocmd InsertLeave * :set number relativenumber
autocmd WinEnter * :set number relativenumber autocmd WinEnter * :set number relativenumber
autocmd WinLeave * set norelativenumber autocmd WinLeave * set norelativenumber
if has('##CmdlineEnter')
autocmd CmdlineEnter * :redraw | :set norelativenumber autocmd CmdlineEnter * :redraw | :set norelativenumber
autocmd CmdlineLeave * :set number relativenumber autocmd CmdlineLeave * :set number relativenumber
endif
" see 'mapping nnoremap :' for setting norelative number. " see 'mapping nnoremap :' for setting norelative number.
augroup END augroup END