Chapter 4. Edit Files

This chapter is about creating and editing text files using the Unix text editors supplied with Mac OS X. It also takes a quick look at some graphical-based text editors. The seven projects cover the following topics:

  • nano: a simple text editor that’s easy to use and sufficiently full featured to use as your everyday editor.

  • emacs: a big, fat, full-featured text editor that’ll do all you want and more besides. It includes an extensive interactive help system and tutorials, making it easy to pick up the basics.

  • vim: a programmer’s editor with syntax highlighting and a programmatic approach to forming edit commands. Like emacs, it has an extensive online help system. vim is upward-compatible with the older vi (pronounced vee eye ...

Get Mac OS X UNIX 101 Byte-Sized Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.