We'll create a Terminal alias to efficiently open a chosen file in Sublime Text 2.
From Terminal ...
Edit the bash profile, by typing:
vim .bash_profile
Then type i to insert.
Insert this line:
alias sublime='open -a Sublime\ Text\ 2'
Hit the Escape key to stop editing.
Type :wq to save and quit the editor.
Type exit to exit the terminal session.
Quit and restart Terminal.
Type sublime filename.html to open the desired file in Sublime Text 2!
To create more aliases, type sublime .bash_profile!
For more great Terminal power tips, see Become a Command Line Ninja With These Time-Saving Shortcuts - Lifehacker