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\ 2.app/Contents/SharedSupport/bin/subl -n $@
Save as Open In Sublime Text 2 and voilà, whenever you right-click a file/folder this option will be under Services.
Written by Rafael Oliveira
Related protips
1 Response
I can't believe I never thought of that... Brilliant!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#