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

6
vimrc
View File

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