Treestyletab: Keyboard shortcuts for common tasks

Created on 22 Jan 2020  路  13Comments  路  Source: piroor/treestyletab

It would be nice to have keyboard/mouse shortcuts for common tasks like:

  1. open new tab as child of current one.

  2. Navigating tab tree

  3. Moving subtree

  4. Closing subtree

bug of Firefox itself

Most helpful comment

The section was removed, because Firefox already has better customization UI for keyboard shortcuts of addons. It is available at about:addons page:
image

All 13 comments

TST already have some of them:

  • 1 => Open a new tab: Child Tab
  • 3 => Move Current Tree Up / Move Current Tree Down
  • 4 => Close this Tree / Close Descendants

And what the command "Navigating tab tree" means? Could you describe more details?

@piroor Pressing 1, 3 or 4 doesn't do anything on my installation. I'm using firefox 72 on linux.

By navigating tab tree, I mean moving up down in the list of tabs.

Where can I find the list of keybindings, if there is one?

What shortcut key did you actually pressed? If you really just pressed numeric 1, 3 and 4 keys, please note that you need to set your custom shortcut (it must not conflict to Firefox's one) for each command manually via the "Keyboard Shortcut" section in the TST's options page, or about:addons.
image
image

Great, that solves most of my issues. I've noticed that firefox default keybindings are preferred over the ones registered by an addon. Would it be possible to revert this behaviour?

It is an issue of Firefox itself and any addon cannot solve it for now. See also the bug:

1325692 - [commands] Explicit support for overriding built-in keyboard shortcuts by WebExtensions
https://bugzilla.mozilla.org/show_bug.cgi?id=1325692

I'm confused, was the keybindings section of TST moved somewhere else?

ss-2020-03-16_125045

The section was removed, because Firefox already has better customization UI for keyboard shortcuts of addons. It is available at about:addons page:
image

Awesome, thanks. Somehow I missed this menu even after looking where to edit shortcuts in Firefox for hours! I see know that you mentioned it in your second message here, sorry, I must have read it too fast and only noticed the TST sub-menu.

I still have an issue though: my keybinds to change tabs have no effect. I suppose it's the same issue @fctorial is encountering, they probably are conflicting with default Firefox addons (though there is no warning):

ss-2020-03-16_153052

Shift+Alt+up/down shouldn't be conflicting with defaults, however, so there might be something else.

@Kabouik Alt-Shift-Up/Down for those commands work for me, at Nightly 76.0a1 on Windows 10. Is any other shortcut works for the command? Or, only these shortcuts (keybindings) don't work for any command?

@Kabouik If Alt-Shift-Up/Down don't work for any other command, it may be a problem of Firefox itself or a conflict with something utility running on your platform.

Thanks for testing @piroor. Alt+Up/Down does not work for anything (I tried other extensions), nor does Ctrl+Up/Down, and they don't seem to be assigned to other Firefox features because else there would be a warning.

I am running Firefox 74.0 on Linux, and i3wm as my window manager (but Alt+Up/Down are not bound to anything in i3wm).

Alt+Up/Down are properly recognized in Vivaldi, so the issue seems to be specific to Firefox and not to my environment.

Wait,I'm embarrassed to say I mixed things up and was trying to use the wrong TST function. I thought "Scroll tab up by line" was what I was after because I didn't see "Focus previous tab" before, probably because the former one was bound to a key by default and therefore draw my attention as one of the main functions. "Focus previous tab" further down the list is the feature I wanted, and assigning a keybind to that one does work as expected. I am really sorry for the noise @piroor.

While I'm here, thanks a lot for this great add-on. It is a game changer for me, I would not use Firefox without it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

allixx picture allixx  路  4Comments

Andrade picture Andrade  路  3Comments

Evotron picture Evotron  路  3Comments

mikeaustin picture mikeaustin  路  3Comments

stapuft picture stapuft  路  4Comments