6 The vim
Editor
In This Chapter
Tutorial: Creating and Editing a File with vim
Command Mode: Moving the Cursor
Command Mode: Deleting and Changing Text
Yank, Put, and Delete Commands
This chapter begins with a history and description of vi
, the original, powerful, sometimes cryptic, interactive, visually oriented text editor. The chapter continues with a tutorial that explains how to use vim
(vi
improved—a vi
clone supplied with Mac OS X 10.3 and later and available for most UNIX distributions) to create and edit a file. Much of the tutorial and the balance of the chapter apply to vi
and ...
Get A Practical Guide to UNIX for Mac OS X Users 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.