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

Add actions to tab picker #4611

Open
kiuKisas opened this issue Jan 19, 2025 · 3 comments
Open

Add actions to tab picker #4611

kiuKisas opened this issue Jan 19, 2025 · 3 comments

Comments

@kiuKisas
Copy link

The idea is to add more actions when opening the search tab picker (T), based on Manipulating Tab sections, without closing the picker.
For exemple:

  • : close selected tab (this one could be really great)
  • : move selected tab to new window
  • : duplicated selected tab
  • : pin selected tab

And so on.. what are you though about it ?

@UncleSnail
Copy link
Contributor

I like this idea. It could be a very easy way to close tabs by name (I think that's the most useful). However, in these cases it would be a feature that is hard to document and let the user know exists, and you could just perform the action by switching to the tab and then doing the action. Depending, I could see this feature leading to some confusion and mistakes.
So I think it could be useful, but personally, it wouldn't be a top priority for me.

@kiuKisas
Copy link
Author

kiuKisas commented Jan 21, 2025

I understand your concern; it could also conflict with other browser shortcuts. For example, in Firefox, <C-p> opens the print dialog, so it might end up being even more complicated. I was considering some sort of mode that would allow actions within the vomnibar, but again, it could become complex.

Regarding the documentation, does it really make things more complicated? Would adding a section titled "Vomnibar Tab Actions" to the help dialog not be clear enough?

For context, my use case is that I wanted to close several tabs without quitting the vomnibar, similar to how I can close multiple buffers in fzf-lua within my vim config. I haven't been able to achieve similar in Vimium.

This isn't a high priority, of course—I'm willing to take a look in my free time.

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

3 participants
@kiuKisas @UncleSnail and others