diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 22:34:02 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 22:34:02 +1200 |
commit | 35ae85cdb0d79b0d2d87a6952980010bed6f2646 (patch) | |
tree | 5247700d0a525191605ea1057052e10770d97ded | |
parent | Support tabs on startup as well as windows (diff) | |
download | vim-cursorline-current-35ae85cdb0d79b0d2d87a6952980010bed6f2646.tar.gz vim-cursorline-current-35ae85cdb0d79b0d2d87a6952980010bed6f2646.zip |
Backport to Vim 7.0
:tabdo and :windo don't accept ranges in old Vim.
-rw-r--r-- | plugin/cursorline_current.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim index f775965..97c1550 100644 --- a/plugin/cursorline_current.vim +++ b/plugin/cursorline_current.vim @@ -12,5 +12,5 @@ augroup cursorline_current autocmd VimEnter * \ tabdo windo doautocmd WinLeave autocmd VimEnter * - \ 1 tabdo 1 windo doautocmd WinEnter + \ 1 wincmd w | doautocmd WinEnter augroup END |