MacVim – Free
Vim is an almost compatible version of the UNIX editor Vi. Many new features have been added: multi-level undo, syntax highlighting, command line history, on-line help, spell checking, filename completion, block operations, etc. There is also a Graphical User Interface (GUI) available.
CodeRunner 2 – Paid
CodeRunner is the easiest way to write code on your Mac. You can run code in almost any language instantly, and you’ll be surprised by the powerful set of features in such a lightweight and easy-to-use editor.
UltraEdit – Paid
UltraEdit’s text editing features make editing lists and columns an intuitive experience, not the exercise in tedium it used to be. With features like multi-caret editing, column/block editing and multi-select, it’s a simple text editor when you want it to be, and a multi-cursor power editor when you need it to be.
Textastic – Paid
Textastic is a powerful and fast text, code, and markup editor.
Atom – Free
Atom is a desktop application based on web technologies. Like other desktop apps, it has its own icon in the dock, native menus and dialogs, and full access to the file system.
Sublime Text – Paid/Free
Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance.
TextMate – Free
TextMate brings Apple’s approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike.
BBEdit 11 – Paid
BBEdit is the leading professional HTML and text editor for the Macintosh. Specifically crafted in response to the needs of Web authors and software developers, this award-winning product provides an abundance of high-performance features for editing, searching, and manipulation of text. An intelligent interface provides easy access to BBEdit’s best-of-class features, including grep pattern matching, search and replace across multiple files, project definition tools, function navigation and syntax coloring for numerous source code languages, code folding, FTP and SFTP open and save, AppleScript, Mac OS X Unix scripting support, text and code completion, and of course a complete set of robust HTML markup tools.
TextWrangler – Free
TextWrangler is the “little brother” to BBEdit, our leading professional HTML and text editor for the Macintosh.
Brackets – Free
With focused visual tools and preprocessor support, Brackets is a modern text editor that makes it easy to design in the browser. Try Creative Cloud Extract (preview) for Brackets for an easy way to get clean, minimal CSS straight from a PSD with no generated code.