Sublime from the command line
Quick tip for anyone using Sublime Text 2. If you were missing the “mate” command available to open a file in TextMate, you can do the same with Sublime!
1 |
subl "filename or folder" |
If you get a message saying “command not found” just run the following with the “dev” version of Sublime on OS X and you should be golden.
1 |
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /bin/subl |
Not a huge deal but it’s nice if you need to quickly open a file or folder in sublime.
Thank you !!!! i couldn’t figure this out forever! Command not found my a%^ !
THANKS! I did this before but couldn’t find the command when I got my new laptop.
Thanks! I added ‘sudo’ to the beginning of your command and works great!
Thanks. Shows how little I understand the function of ~/bin, /bin etc.
THANKS! Nothing was working until this!!!!!!
Thanks for this!
Thanks!!!