feature check
This commit is contained in:
parent
f4ca3f247c
commit
d332caa254
2
vimrc
2
vimrc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue