Last Updated: February 25, 2016
· rafaelcgo

Open In Sublime Text - Mac Os Service

Would you like to have a shortcut to open files on Sublime Text?

Here it goes:
Automator > Service:

Service receives selected "files or folders" in "any application"

Run Shell Script

Shell: /bin/zsh (note we're not using bash)

Pass input: as arguments

/Applications/Sublime\ Text\ -n $@

Save as Open In Sublime Text 2 and voilà, whenever you right-click a file/folder this option will be under Services.

1 Response
Add your response

I can't believe I never thought of that... Brilliant!

over 1 year ago ·