Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] GoldenViewNext shouldn't jump to next tab #17

Open
nirvana6 opened this issue Nov 6, 2014 · 1 comment
Open

[suggestion] GoldenViewNext shouldn't jump to next tab #17

nirvana6 opened this issue Nov 6, 2014 · 1 comment

Comments

@nirvana6
Copy link

nirvana6 commented Nov 6, 2014

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.

@alok
Copy link

alok commented Nov 13, 2016

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants