Sublime Text 2 has been updated to include a Command Line Utility, subl!
Here’s a few gotchas:
- Be sure to specify the ‘-w’ or ‘–wait’ option in your git config.
- Currently, Sublime tries to keep folders opened from the command line in the same window. This is different behavior than TextMate, and I find it a bit obnoxious for searching and open quickly. To emulate ‘mate .’ behavior, use the ‘-n’ option to open the folder in a new Sublime editor window.