aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-10 22:46:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-10 22:46:59 +1200
commit18ca4fdadadec3eaacd572f448fd49c7ce082d2c (patch)
tree8215ba240cbe07d0b3d39b4f836ec62d759a7191 /plugin
parentMerge branch 'release/v2.0.0' (diff)
downloadvim-cursorline-current-18ca4fdadadec3eaacd572f448fd49c7ce082d2c.tar.gz
vim-cursorline-current-18ca4fdadadec3eaacd572f448fd49c7ce082d2c.zip
Add :tabfirst command to go back to first tab
Diffstat (limited to 'plugin')
-rw-r--r--plugin/cursorline_current.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim
index 034a422..1c09f91 100644
--- a/plugin/cursorline_current.vim
+++ b/plugin/cursorline_current.vim
@@ -20,7 +20,7 @@ augroup cursorline_current
autocmd VimEnter *
\ tabdo windo doautocmd WinLeave
autocmd VimEnter *
- \ 1 wincmd w | doautocmd WinEnter
+ \ tabfirst | 1 wincmd w | doautocmd WinEnter
" On entering a buffer, the Vim application gaining focus, leaving insert
" mode, or entering a window, set the local value of the 'cursorline' option