Sublime Text is quite the fancy editor and a definite step up from TextMate, to mirror the same launch from command-line that TextMate gives you just do this from the command-line:

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

Making sure “/usr/local/bin” is in your .bash_profile path

Once in place you should be able to run Sublime from any directory like TextMate,

cd myproject
subl .

Voila,

  1. doctorhyde posted this