Sublime Text 2 is an awesome text editor, which gains a bigger userbase every hour. And I think it is more popular than Textmate nowadays.
One hidden feature of Sublime is, that it comes with a command line program. It's called subl (I guess it should have the same length then the famous mate) and you will find it in the
SharedSupport/bin directory of the app itself. There:
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
The only thing you have to do, is add it to the PATH variable, and reload the terminal. I like to just add it in the
~/.bash_profile, where I just add the line:
export PATH=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/:$PATH
And after reloading that file (or simple opening a new terminal):
you can do simple things like:
$ subl .
$ subl ~/my_project
Have fun with that.