back

by wiradikusuma·14y ago·view on hn ↗
i guess this is the right place to ask, now that we're talking about text editors in mac:

could anyone suggest me plain text editor in mac that fast, small, and simple, with syntax highlighting for common programming files (xml, html, json, etc) but not trying to be an IDE? (i have intellij for that, thank you)

something like mac default text editor, but doesnt automatically show rich text version of HTML, with syntax highlighting.

my use case is that i occasionally open config files or code that i just want to "quick edit" without waiting 3 seconds to load the editor.

3 comments
Definitely Sublime Text 2. It's $79, but you can try in indefinitely and it will show you just an unobtrusive message every (I think) 50th time you save (and you can press 'space' immediately and it will disappear).

And it's ridiculously fast (the reason I started using it in the first place, but it's so awesome I'm sure I won't be leaving it soon even if it gets slow). Opens a 120,000 line xml file like it's 2KB.

and you can `s file.xml` in the terminal to open with sublime.

Check its website: http://www.sublimetext.com/2

I use (and recommend) Vim, but if you are looking for something less 'alien' and with a shallower learning curve, I'd recommend Sublime Text. They do an amazing job of making a lot of stuff (specially file navigation) extremely easy.
Vim?