Set cursorline on active window

This commit is contained in:
Michael Mandl 2019-12-22 12:55:19 +01:00
parent 1efe1038e3
commit 59154963a4

View File

@ -57,9 +57,9 @@ set inccommand=split
" set cursorline in active window
augroup CursorLine
au!
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
au WinLeave * setlocal nocursorline
autocmd!
autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
augroup END
" terminal mode options