From 9f074879e5b04e0d0de2f9cd692500e2657b548e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 22:24:25 +1200 Subject: Support tabs on startup as well as windows --- plugin/cursorline_current.vim | 4 ++-- 1 file 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 -- cgit v1.2.3