Enable cursorline for active window

main
Michael Mandl 2019-11-29 15:04:58 +01:00
parent 9df9199a6b
commit 9edb59df4e
1 changed files with 7 additions and 0 deletions

View File

@ -53,6 +53,13 @@ set number
" preview commands
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
augroup terminal_mode
autocmd!