views:

344

answers:

8

I wonder that there seems to be no text editor on the mac installed that is capable of saving just text without any formatting. Which text-only editors do you know that allow for editing text without any formatting like font sizes etc.?

+6  A: 

emacs, vim, nano

Mac OS X TextEdit supports editing text files without formatting.

Mehrdad Afshari
A: 

You probably would consider reading this http://hackresponsibly.com/the-best-text-code-editors-for-windows-mac-os-x-and-linux/

Izabela
gedit = best editor on Linux? Well, I beg to differ, but those things can't be discussed unbiased, anyhow.
msiemeri
Of the three, only two listed are free, and gedit is very, very arguable.
Sii
+5  A: 

If you install and use either of Vim or Emacs, you will have a text editor that can be used on any major platform now and in the future, and most of the minor ones too.

As a bonus, they are both very well supported, very powerful, and (not surprisingly) have existing, rich support for just about any kind of text editing you might want to do (and even the types you don't yet realise you want).

Of course, they both support creating plain text files by default.

bignose
Both come preinstalled, and can be accessed from Terminal.app or an xterm.
rampion
+8  A: 

There is a polished vim 7.2 version for OSX.

msiemeri
MacVim rules. All the Vim goodness plus nice graphical rendering, tabs, drag and drop, Mac-friendly keyboard mapping (Cmd-S anyone?), …
zoul
Yep, I couldn't live without MacVim either!
Alex Martelli
+2  A: 

For free Maclike (for given values thereof) GUI ones, there's Komodo Edit, Smultron, TextWrangler.

From the Emacs variants, my personal favourite is Aquamacs, because it tries its darnedest to mitigate the OS X vs. Emacs impedance mismatch, and comes with some of the hairier packages preinstalled.

Sii
+1  A: 

It was a couple years ago, but I tried everything I could find for doing front-end editing (JS, XHTML, CSS, etc). I found Komodo to be the best, most comfortable, most intuitive. It's not perfect, but it was the closest I found.

Corey Maass
+1  A: 

It sounds like you aren't aware that it's possible to save plain text files with TextEdit. While the default is RTF, you can go to Format > Make Plain Text to switch.

And of course Xcode will save plain text files, and let you control things like encoding and line endings.

smorgan
+1  A: 

TextWrangler is the way to go if you want free, hands down.

fbrereto