Is there a way to make Cmd+1 switch to the first tab, Cmd+2 to switch to the second and so on..?
I'd much rather not use SIMBL..
Is there a way to make Cmd+1 switch to the first tab, Cmd+2 to switch to the second and so on..?
I'd much rather not use SIMBL..
One (still relatively hacky) option would be to assign shortcuts to AppleScripts like this:
tell app "Safari" to tell window 1 to set current tab to tab 1
---
tell app "Safari" to tell window 1 to set current tab to last tab
You could use Automator services or third party apps like FastScripts or Keyboard Maestro to assign the shortcuts.
tabx:// links in the first 9 slots of the bookmarks bar. ;-) Or, less adventuristic: create an Automator "service", like described in How can I program the function keys on my MacBook?
– Arjan
May 08 '10 at 17:03
Technically, there is no real non-hacky solution, but you can always use cmd + shift + (left or right arrow key) to switch the tab on the left or the tab on the right. I've always found that useful.
You want to use https://github.com/rs/SafariTabSwitching . If you find it does not work on later versions of OSX or Safari (I have it running on v8), you can look at https://github.com/rs/SafariTabSwitching/issues/27
Safari > Preferences > Tabs > "Use cmd-1 through cmd-9 to switch tabs"