Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I reassign the keyboard shortcuts for firefox? I want to use ctrl+right/lift to switch tabs. Is there a plugin for this, if FF doesn't support this natively?

share|improve this question
1  
I thought that this was something built in, but I've just checked and I can't find any options for it all. Is it something they've taken out of 3.6? –  ChrisF May 25 '10 at 20:39

5 Answers 5

up vote 10 down vote accepted

Here is what worked for me with Firefox 6:

  1. Install the keyconfig addon from the keyconfig download page and restart.
  2. Go to Addons -> keyconfig -> Preferences.
  3. 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):
    • Next Tab: gBrowser.mTabContainer.advanceSelectedTab(1,true);
    • Previous Tab: gBrowser.mTabContainer.advanceSelectedTab(-1,true);
  4. 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.)

share|improve this answer
    
This still works perfectly in Firefox 9.0.1 –  Alo Jan 4 '12 at 23:07
    
Lifesaver answer, works fine in Firefox 16.0.2 –  AnPel Nov 21 '12 at 2:03

On OS X, you can switch tabs to the left or right using option+command+left/right. Command+{/} and ctrl+page up/down do the same thing.

I don't know if comparable shortcut keys exist on Windows, though I would guess that ctrl+page up/down work.

Source: http://support.mozilla.com/en-us/kb/keyboard+shortcuts

share|improve this answer
    
Thanks, although it would be better if it used ctrl+arrowkeys. Using page up/down to move across the tabbar doesn't feel natural. –  John2496 Jun 7 '10 at 16:09
    
Firefox also supports tab switching using CTRL+TAB & CTRL+TAB+SHIFT. Taken from techontour.com/web-browsers/2008/10/04/… –  John2496 Jun 7 '10 at 16:14

The Keyconfig add-on for Firefox allows you to program most tab-selection keyboard binding.

share|improve this answer

The SwiftTabs addon even lets you assign single key shortcut for tab switching

share|improve this answer

AutoHotkey is the answer. I tried those Firefox extensions, but they can't handle all the actions I wanted. AutoHotkey can. Try something like this in a .ahk file:

#IfWinActive ahk_class MozillaWindowClass
{
   ^Left::Send ^{PgUp}
   ^Right::Send ^{PgDn}
}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.