Enable cursorline for active window

This commit is contained in:
Michael Mandl 2019-11-29 15:04:58 +01:00
parent 9df9199a6b
commit 9edb59df4e

View file

@ -53,6 +53,13 @@ set number
" preview commands " preview commands
set inccommand=split set inccommand=split
" set cursorline in active window
augroup CursorLine
au!
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
au WinLeave * setlocal nocursorline
augroup END
" terminal mode options " terminal mode options
augroup terminal_mode augroup terminal_mode
autocmd! autocmd!