GoldenView.Vim
GoldenView.Vim copied to clipboard
[suggestion] GoldenViewNext shouldn't jump to next tab
I set four mappings in vim as bellow:
nmap <silent> wn <Plug>GoldenViewNext
nmap <silent> wp <Plug>GoldenViewPrevious
nmap <silent> tn :tabn<CR>
nmap <silent> tp :tabp<CR>
I expect <silent>tn
and <silent>tp
switch between tabs, while <silent>wn
and <silent>wp
only switch between multi-windows In The Same Tab
However, When I type <silent>wp
, I found when it comes to the last window in a tab, the foucus will switch to the next tab.
How much I wish the foucus at the end window of 1st tab switch(roll) to the head-windlow of the 1st tab. After all, I have had <silent>tp
and <silent>tn
do the best job.
Thanks for consideration.
+1 to this. This behavior is rather jarring and disabling it makes it easy to cycle in between splits in a tab.
It's not really in the spirit of how splits, buffers, and tabs are meant to be used in vim. Tabs are meant as a way of saving layout and are more convenient as a way to provide separation between projects. Splits and buffers in a tab are what goldenview should cycle between, rather than splits and tabs.