[vim] Set cursorline on BufEnter too
This commit is contained in:
parent
e2f3842005
commit
4057fec09b
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -396,6 +396,7 @@ if has('autocmd')
|
|||
" Toggle position highlighting
|
||||
augroup HighlightCursorLineInNormalMode
|
||||
autocmd!
|
||||
autocmd BufEnter * setlocal cursorline
|
||||
autocmd InsertEnter * setlocal nocursorline
|
||||
autocmd InsertLeave * setlocal cursorline
|
||||
augroup END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue