Setting up and Configuring Sublime Text 2
Add an "Open In Sublime" Service to the Finder
To Setup the Open in Sublime Text in the Finder, make a new Automator Action, you want to have it run a shell script with the following contents:
Code
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n "$@"
Notice the escapes for the spaces in the application path. The other changes you need to make are:
-
Set "Service receives selected" to "files or folders"
-
Set "in" to "Finder.app"
-
Set "Pass input" to "as argumets"
It should look like this.
