fwextensions / QuicKey

Jump between recent tabs in Chrome via keyboard shortcuts or a most recently used (MRU) menu.
https://fwextensions.github.io/QuicKey
214 stars 21 forks source link

[Feature Request] Move Selected Tab(s) or Active Tab to the highlighted tab #90

Open megamorphg opened 1 year ago

megamorphg commented 1 year ago

Similar to current Keyboard shortcut in pop-up to: "Move the selected tab to the left/right" feature except in reverse: Move any highlighted tab(s) or the active (if nothing is highlighted) to the tab selected in the pop-up.

Use case: when there are a bunch of new tabs I just opened and now I want to organize it under a different tab far away from current tab(s) or in a different window entirely (without having to dig for them).

Configuration: additional shortcut similar to current Ctrl + [ ... Ctrl + \ or Ctrl / (right and left) would be great

fwextensions commented 1 year ago

Sorry for the very slow response.

When you say "highlighted tabs", you mean the ones in the state where you've ctrl-clicked multiple ones?

image

I just looked at the API, and you can't really tell if a tab is highlighted because the user just ctrl-clicked it and is now active, or just happens to be active in a given window.

I guess if there are multiple windows, QuicKey could look for tabs that are highlighted but not active, and then move those plus the active tab in that window to the left/right of the current one. Maybe the same shortcuts could be used; if nothing is selected in the QK list, then it would move tabs highlighted in the browser itself.