Is there a shortcut key to switch back and forth between two tabs in Firefox?
For example, you can press CTRL + 1 to select the first tab, CTRL + 2 to select the second. What I want to do is switch between the current tab and the last selected tab. TV remotes have a similar previous or back button that does the same thing. If you only press this one button it will switching solely between two channels each time it is pressed. I see this is called a "last" button on TV remotes.
UPDATE:
I know you can move a tab to be right next to each other as tab 1 and tab 2 and then use ctrl + 1 and ctrl + 2 but I'm talking about a switch shortcut.
I'm using Mac.
Best Answer
In order to switch between the two last selected tabs (and to enable Windows like Alt + Tab task switching for Firefox Tabs) you need to
about:config
andbrowser.ctrlTab.previews
totrue
and you're done. Now you can switch between the last two selected tabs by quickly pressing Ctrl + Tab. If you press Tab repeatedly – or keep Ctrl pressed – you can switch to other tabs too. If you want to cycle the previews in reverse, just throw Shift in there as well.