feat: add tab group support (skip collapsed groups, zc/zj/zk navigation)#4858
feat: add tab group support (skip collapsed groups, zc/zj/zk navigation)#4858tusharmurali wants to merge 2 commits into
Conversation
|
Thanks for working on this!
Just out of interest, not complaining in any way: As the code here is chrome only still and firefox does have tab groups for a while - did you check and find that these operations aren't available/possible in firefox or just only focused on chrome for now? |
According to the MDN compatibility table, the tab group related functionality that is used in this PR should also be available on Firefox:
So I personally think that there should be no distinction in Vimium regarding this feature. Edit: the feature would obviously only work on newer Firefox versions, so it might be necessary to increase the minimum Firefox version in the |
Thanks for flagging, I was focusing only on Chrome. I've updated the code to use |
Description
Fixes #4693
Related #3937, #4639
This PR adds tab group support to Vimium:
1. Skip collapsed tab groups when navigating (J/K/gt/gT/g0/g$)
Chrome and Firefox's native
Ctrl+Tabskips collapsed tab groups, but Vimium'sJ/Kcurrently navigates into them. This aligns Vimium's behavior with Chrome and Firefox's native UX.2. New commands for tab group navigation (Vim fold-style keybindings)
zccollapseTabGroupzjpreviousTabGroupzknextTabGroupThese follow Vim's fold navigation conventions (
zprefix,j/kfor direction).Notes:
tabGroupspermission (no new user-facing permission warnings)T(Vomnibar tab search)