How do I reassign the keyboard shortcuts for Firefox? I want to use ctrl+right/left to switch tabs. Is there a plugin for this, if Firefox doesn’t natively support this?
Answer
Here is what worked for me in March 2016 (Firefox 45):
Install the keyconfig addon from the keyconfig download page and restart.
The addon file is unsigned, so to be able to install it, I first had to enter
about:configin the address bar and setxpinstall.signatures.requiredto false.Go to Addons -> keyconfig -> Preferences.
There are no "Previous Tab" and "Next Tab" entries by default, but you can add them by clicking Add a new key and using the following code snippets (thanks to the author). The "Global" checkbox can be left unchecked.
- Next Tab:
gBrowser.mTabContainer.advanceSelectedTab(1,true); - Previous Tab:
gBrowser.mTabContainer.advanceSelectedTab(-1,true);
- Next Tab:
Assign whatever keys to the "Next Tab" and "Previous Tab" actions.
(The Customizable Shortcuts addon didn't work for me, as it didn't have entries for Next Tab and Previous Tab.)
No comments:
Post a Comment