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 " set cursorline in active window
augroup CursorLine augroup CursorLine
au! autocmd!
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
au WinLeave * setlocal nocursorline autocmd WinLeave * setlocal nocursorline
augroup END augroup END
" terminal mode options " terminal mode options