Enable cursorline for active window
This commit is contained in:
parent
9df9199a6b
commit
9edb59df4e
1 changed files with 7 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue