diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 22:24:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 22:24:25 +1200 |
commit | 9f074879e5b04e0d0de2f9cd692500e2657b548e (patch) | |
tree | aade37d5ed3ea59b354a32e3ffbd4b21685632bf | |
parent | Refactor and simplify, remove autoload (diff) | |
download | vim-cursorline-current-9f074879e5b04e0d0de2f9cd692500e2657b548e.tar.gz vim-cursorline-current-9f074879e5b04e0d0de2f9cd692500e2657b548e.zip |
Support tabs on startup as well as windows
-rw-r--r-- | plugin/cursorline_current.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim index f7298b3..f775965 100644 --- a/plugin/cursorline_current.vim +++ b/plugin/cursorline_current.vim @@ -10,7 +10,7 @@ augroup cursorline_current autocmd BufLeave,FocusGained,InsertEnter,WinLeave * \ let &l:cursorline = 0 autocmd VimEnter * - \ windo doautocmd WinLeave + \ tabdo windo doautocmd WinLeave autocmd VimEnter * - \ 1 windo doautocmd WinEnter + \ 1 tabdo 1 windo doautocmd WinEnter augroup END |