Set cursorline on active window

main
Michael Mandl 2019-12-22 12:55:19 +01:00
parent 1efe1038e3
commit 59154963a4
1 changed files with 3 additions and 3 deletions

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