1 and 2 keys to change tabs in Safari (like in Opera)
-
01-10-2020 - |
Question
In Opera browser 1 and 2 keys can be used to change between tabs. Is it possible to set up this shortcut in Safari? I tried adding a "Show Previous Tab" shortcut in keyboard preferences but is does not allow me to set a shortcut without a modifier key (ctrl/alt/cmd).
Solution
The keyboard shortcuts to switch between tabs in Safari are cmd-shift-{ (previous tab) and cmd-shift-} (next tab).
You can also use cmd-1, cmd-2, etc. to jump to the tab that corresponds with that number, up to 8 (e.g. cmd-5 will jump to the fifth tab from the left, from whichever tab you're currently on). cmd-9 will jump to the right-most tab.
OTHER TIPS
You wouldn't make the shortcut from keyboard preferences. I believe that you would add this shortcut from Automator however I am not on my computer right now so I think that will work but I haven't tested this specific shortcut. If that dosent work then there is always the option of "⌘+`/⌘+Shift+' " to go to the next or previous tab. Hope this helps!
Not quite what you're asking, but I found SafariTabSwitching extension recently and am very happy with it https://github.com/rs/SafariTabSwitching
It let's you switch tabs using Cmd-(tab number) like all other browsers.