Skip to content

Instantly share code, notes, and snippets.

@defmech
Created July 17, 2013 22:47
Show Gist options
  • 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