32leaves.net

Open Smultron from your console

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

.bash_profile

and your ready to go

1
alias edit='open -a Smultron'

Once you got that (and have ensured that you’ve loaded the latest version of your profile), type

1
edit somefile.txt

to edit a file in Smultron.

Fork me on GitHub