Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jish/safari-tabs
If you think ⌘1-5 should switch tabs, and not lose your current page, this repo is for you!
https://github.com/jish/safari-tabs
Last synced: 4 days ago
JSON representation
If you think ⌘1-5 should switch tabs, and not lose your current page, this repo is for you!
- Host: GitHub
- URL: https://github.com/jish/safari-tabs
- Owner: jish
- Created: 2010-08-31T07:05:39.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-11-12T21:21:43.000Z (about 13 years ago)
- Last Synced: 2024-10-31T17:13:55.489Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Safari Tabs
-----------Maps ⌘1 through ⌘5 to switch to tabs 1 through 5 respectively in Safari.
Installation
------------### Install Applescripts that switch tabs in Safari:
git clone https://[email protected]/jish/safari-tabs.git
cd safari-tabs
rake install### Setup FastScripts
* Install FastScripts [http://www.red-sweater.com/fastscripts/][1]
* Open FastScripts preferences `⌘,`
* Click on Script Shortcuts
* Expand /Users//Library/Scripts > Applications > Safari
* Map ⌘1-5 to the scripts titled tab1-5 respectivelyEnjoy Safari's html5 support and rendering engine without wanting to kill
someone.Why
---I wanted to switch to Safari for a while to benefit from their html5 support
and smooth animations, etc. However, when I switched, I ran into nothing but
pain. I guess I never realized how much I relied on ⌘1, ⌘2, ⌘3, etc... for
tab navigation.While trying out Safari, I was constantly pressing ⌘1, ⌘2, ⌘3 and Safari kept
navigating to apple.com, yahoo.com, and the like -- losing whatever was in my
current tab.Frustrated by the experience, and still inclined to give Safari a try, I dove
into the world of Applescripts to fix this little problem.Note
----On my journey to reclaim ⌘1, I really wanted to find a native way to map
keyboard shortcuts to Applescripts, unfortunately, that is easier said than
done, and it seems everyone out there writing applescripts is using some
third party application to map their keyboard shortcuts. Although, if you
know of a way to do this, please let me know!The one I -- and many others -- have settled upon is FastScripts
[http://www.red-sweater.com/fastscripts/][1]. Don't worry, it's free for the first
10 keyboard shortcuts, and I only mapped ⌘1-5, so you'll still have 5 more
shortcuts available.[1]: http://www.red-sweater.com/fastscripts/