projectdelphai / panorama-tab-groups

An add-on for Firefox that implements the old Tab Groups/Panorama functionality
https://projectdelphai.github.io/panorama-tab-groups/
Mozilla Public License 2.0
316 stars 56 forks source link

Toggle group by num key #252

Open t0b1hh opened 3 years ago

t0b1hh commented 3 years ago

Enable the user to switch to another group by just typing the numeric groupID and confirming with "Enter" when the overview is open.

Used the existing keydown-handler.

An example use with shortcuts could be:

  1. [Alt] + [Shift] + [F] -> switch to view mode
  2. [3] -> we want to change to group 3
  3. [Enter]
  4. Et voilá: Group 3 will be displayed.

Should also work for groupIDs >=10, as i added a simple key logging to record numeric keypresses. The numeric input will not be displayed on screen