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

Navigate tabs by MRU, like Firefox [Request] #340

Open
Am3ra opened this issue Dec 22, 2022 · 3 comments
Open

Navigate tabs by MRU, like Firefox [Request] #340

Am3ra opened this issue Dec 22, 2022 · 3 comments
Labels
request New feature or request
Milestone

Comments

@Am3ra
Copy link

Am3ra commented Dec 22, 2022

Love the plugin, one thing I would like is to have a function like BufferNext, or an option that modifies BufferNext that works on a Most Recently Used basis, like firefox.

How this would work:

Have three tabs, currently in a

[a*] [b] [c]

Move to B
[a] [b*] [c]

Call function, would go back to a, as it is the most recently used, not c
Call the funciton again, it would go back to B

This is super useful when having a lot of tabs open, but only navigating between few of them.

The only issue i see with this is navigating to the 2nd/3rd most recently used. Maybe have a timeout?

Firefox solves this by having you hold ctrl, and just counting the number of times you press tab before you let go of ctrl

@Iron-E Iron-E added the request New feature or request label Dec 28, 2022
@Iron-E
Copy link
Collaborator

Iron-E commented Dec 28, 2022

Related #91

@Iron-E Iron-E added this to the unplanned milestone Apr 9, 2023
@levivk
Copy link

levivk commented Sep 12, 2023

@Am3ra This is supported in stock Neovim using g<Tab>. There is some strange interaction between stock tabs and barbar, but if you open multiple files with :tabedit, you can g<Tab> between them.

@Am3ra
Copy link
Author

Am3ra commented Sep 13, 2023

huh! Thanks for the tip, had no idea :D

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

No branches or pull requests

3 participants