In case you don’t want to spend a lot of money (even though well worth) on TextMate, have a look at Smultron. And if you want to open a file using your handy command line, just alias it. Put the following line in your
and your ready to go
alias edit='open -a Smultron'
Once you got that (and have ensured that you’ve loaded the latest version of your profile), type
to edit a file in Smultron.