Preface to the 5th Edition
The 5th edition of
Learning the vi Editor
We have expanded the treatment of existing topics, and we
have added some completely new topics and features:
The book has a quick-reference guide to all commands.
This guide, located at the back of the book, can be
pulled out and used as a handy reference card.
ex editor commands are discussed more fully.
In Chapters 5, 6, and 7, the complex features of
have been clarified by adding more examples, in
topics such as regular expression syntax, global replacement,
word abbreviations, keyboard maps, and editing scripts.
A few of the examples are drawn from
Walter Zintz wrote a two-part tutorial
that taught us a few things we didn't know,
and that also had a lot of clever examples illustrating
features we did already cover in the book.
Ray Swartz had a helpful tip in one of his columns.
We are grateful for the ideas in these articles.
The increased emphasis on
warranted a summary of all
so we added an alphabetical listing in
Appendix C, ex commands
Minor additions or corrections
have been made to
the discussions of basic
Many of these additions are based on comments by Kismet McDonough of
O'Reilly & Associates, Inc., and by Steve Simmons, who teaches
on the West Coast. The comments were very useful.
The following people at O'Reilly & Associates, Inc.
worked on the 5th edition: Daniel Gilly wrote most of the new
Mike Sierra produced the manuscript; and Chris Reilley
designed the quick-reference guide and redesigned
the original figures.