vimrc: don't set cursorline on VimEnter
This commit is contained in:
parent
b207eaa0ab
commit
bbc76bc4cd
@ -810,7 +810,7 @@ augroup END
|
|||||||
if $DISPLAY !=? '' && &t_Co == 256
|
if $DISPLAY !=? '' && &t_Co == 256
|
||||||
augroup cursorline
|
augroup cursorline
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
|
autocmd WinEnter,BufWinEnter * setlocal cursorline
|
||||||
autocmd WinLeave * setlocal nocursorline
|
autocmd WinLeave * setlocal nocursorline
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user