Moving to Mac: Text Editor

So notepad.exe was my bread & butter on Windows for doing text editing. Not very powerful, but it got the job done. While attempting to play with various config files (more on that in subsequent blog posts), I came across the program TextMate. It’s got all sorts of neat text-editor features, but the best one, by far, is the ability to use the GUI text editor from Terminal. Just type in something like “sudo mate /private/etc/apache2/httpd.conf” and it opens right up in TextMate. Hit save, and it prompts for your password again, but is otherwise very very slick.