Skip to content

Instantly share code, notes, and snippets.

@defmech
Created July 17, 2013 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defmech/6025232 to your computer and use it in GitHub Desktop.
Save defmech/6025232 to your computer and use it in GitHub Desktop.
Automator script to open files and folders in a new window in Sublime Text 2. In Automator add "Run Shell Script". Add the following code and make sure "Pass input" is set to "as arguments". Can be used as a service or app.
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment