[vim] Set cursorline on BufEnter too

This commit is contained in:
Eryn Wells 2017-10-26 15:07:40 -07:00 committed by Eryn Wells
parent e2f3842005
commit 4057fec09b

1
vimrc
View file

@ -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