mbnuqw / sidebery

Firefox extension for managing tabs and bookmarks in sidebar.
MIT License
3.48k stars 175 forks source link

[enhancement] keybinding to switch to last viewed tab #673

Closed hervenicol closed 2 years ago

hervenicol commented 2 years ago

Description

I often work with 2 tabs, and switch a lot between them. I got used to using https://framagit.org/ariasuni/tst-tabflip with Treetab for it.

The behaviour is:

I'd love to have a similar feature on Sidebery!

albino1 commented 2 years ago

FWIW, there's already keyboard shortcuts in Sideberry for switching last active tabs. In the settings under Keybindings take a look at:

Active tabs history of panel: Back

Active tabs history of panel: Next

As a side note, I used AutoHotKey to assign those keybindings to shift+mouse wheel so I can roll the wheel and scroll back and forth through all of my most recent tabs regardless of where they are in the tree. Pretty handy.

megamorphg commented 2 years ago

I click on the current tab, it switches to the previous-active one This option is present in v5.

And ditto on what albino1 says above about tab history. At first I didn't like having two shortcuts but it's actually better. Also, #655 would be a great addition.

hervenicol commented 2 years ago

Wow, I didn't see the tab history shortcuts :facepalm: Sorry! And if the "click to switch to previous" is in v5, then I'll wait for it to be released, perfect! Thanks!

megamorphg commented 2 years ago

Wow, I didn't see the tab history shortcuts 🤦 Sorry! And if the "click to switch to previous" is in v5, then I'll wait for it to be released, perfect! Thanks!

v5 is available already; honestly v5 is "beta" but more stable than v4 in some ways like tab dragging across windows. I use it as my main. v4 might be a bit faster if one is running a snail.