Feature request: Switch tabs using hints in vomnibar (like If you press T)
Requested feature Switch tabs using hints like in surfingkeys (video below)
Demonstration in sufingkeys https://github.com/gdh1995/vimium-c/assets/68733950/9c0ce5d7-31d7-4774-b043-73fd6e6e4b82
Steps
- Press gt
- A frame of open tabs with hints appears
- You want to search open tabs instead of selecting them by hints? press space (or any letter not used by hints)
Why? This is a great UX improvement.
- It is much more efficient and convenient than the current implementation of tab switching in vimium-c (e.g. using T)
- cmd-(tab number) isn't consistent when the vomnibar is open (only in firefox)
- Vomnibar is big for tab switching (A cleaner frame with only the tab title is easier for identifying a tab), so a smaller frame with open tabs to select is better (based on my experience using surfingkeys)
- You can run out of numbers for (cmd-tab number) when you more than 10 tabs open
- I found many issues with surfingkeys and tridactly (scrolling, hints..etc), but if i have to chose one feature from surfingkeys to be in vimium it would be this one.
- Um hard to implement it using LinkHints - Vimium C's LinkHints has too many features and then it is too heavy for Vomnibar iframe to run.
- If you mean
Cmd+Numberhas been used by browser to select N-th tab (from left to right), then you may useAlt+number
- yes Vimium C v1.x has some bugs on macOS so
alt+nfails, but I've fixed it in Vimium C v2.x, which will be released in several days
- titles are not enough for me - I often open some websites which are not well-designed, and their tabs share same short titles
- yes it's an issue
Then, what about this idea:
map xxx Vomnibar.activateTab characters="asdfg"- then show tabs with current number circles, while the number will be replaced with
a,s, ...,gand evenas - consume follow keys just like LinkHints
- or exit this mode, if only on a space or other non-matched keys.
Um hard to implement it using LinkHints - Vimium C's LinkHints has too many features and then it is too heavy for Vomnibar iframe to run.
- If you mean
Cmd+Numberhas been used by browser to select N-th tab (from left to right), then you may useAlt+number
- yes Vimium C v1.x has some bugs on macOS so
alt+nfails, but I've fixed it in Vimium C v2.x, which will be released in several days
titles are not enough for me - I often open some websites which are not well-designed, and their tabs share same short titles
yes it's an issue
Then, what about this idea:
* `map xxx Vomnibar.activateTab characters="asdfg"` * then show tabs with current number circles, while the number will be replaced with `a`, `s`, ..., `g` and even `as` * consume follow keys just like LinkHints * or exit this mode, if only on a space or other non-matched keys.
Yes that would be great, i have a few suggestions:
- maybe changing
characters="asdfg"tohintCharacters="asdfg"ortabCharacterswould be better, ascharactersmay be used for other purposes later on. - As for titles aren't enough in some cases, I agree, although adding an option to hide urls would be a nice addition.
- Lastly, I think the number cycles are better placed at the beginning of each item (i.e. tab). Sometimes i have doubts if the number I am pressing is aligned with the tab (especially in wide screens).
- Thanks for your efforts.
What about limiting max-width of Vomnibar to 2000px, especially when on a 4K screen?
This is a great idea, looks like this still hasn't been implemented?
