Learning the vi Editor, Fifth Edition

By Linda Lamb
January 1900
Pages: 192
ISBN 10: 0-937175-67-6 | ISBN 13: 9780937175675

This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.

The latest edition is also available on Safari Books Online.

Book description

A complete guide to text editing with vi, the editor available on nearly every UNIX system. Early chapters cover the basics; later chapters explain more advanced editing tools, such as ex commands and global search and replacement.
Full Description

For many users, working in the UNIX environment means using vi, a full- screen text editor available on most UNIX systems. Even those who know vi often make use of only a small number of its features. This handbook is a complete guide to text editing with vi. Quickly learn the basics of editing, cursor movement, and global search and replacement. Then take advantage of the more subtle power of vi. Extend your editing skills by learning to use ex, a powerful line editor, from within vi. Topics covered include:
  • Basic editing
  • Moving around in a hurry
  • Beyond the basics
  • Greater power with ex
  • Global search and replacement
  • Customizing vi and ex
  • Command shortcuts
Also includes a pull-out quick-reference card.
Post-purchase benefits:

Register your book | Submit Errata


Browse within this book

Cover | Table of Contents | Index | Colophon

Book details

Fifth Edition: January 1900
ISBN: 0-937175-67-6
Pages: 192


Featured customer reviews

Be the first person to review this book!

Write a Review


Media reviews

"I wish I had had a copy of _Learning the vi Editor_ seven years ago when I first encountered vi. Unfortunately for me I learned how to use it by trial and error and by osmosis from other users, and as a result have been using it in seriously non-optimal fashion ever since! So _Learning the vi Editor_ may well be useful for experienced users of vi who haven't ever read much about it. It is aimed at beginners, however, and will be even more useful if read before bad habits set in. It's clearly and sensibly laid out, with the essentials at the beginning and the advanced stuff at the end, and, while providing plentiful examples, manages to explain everything reasonably succinctly.

"While I personally wouldn't wish learning how to use vi on anyone, there are still many occasions where one is faced with a text-only interface, and vi (or a clone) is the editor available on the widest range of systems. I really can't argue the merits of alternative editors, but if you do decide on learning vi then I strongly suggest arming yourself with a copy of _Learning the vi Editor_ before tackling the task." -- Disclaimer: I requested and received a review copy of _Learning the vi Editor_ from O'Reily & Associates but I have no stake, financial or otherwise, in its success. -- --Copyright (C) Danny Yee 1994 Other reviews by Danny Yee available at: URL http://www.anatomy.su.oz.au/danny/book-reviews/index.html

"I think every UNIX user needs to have at least a rudimentary command of vi, because it is the default UNIX screen editor and may be the only editor available on another machine. GNU Emacs is free, but installing it on some machines requires non- trivial effort, or requires non-trivial machine resources. Therefore, many UNIX users will find themselves stuck having to use vi sooner or later, so they might as well be able to get around in it. Before turning anyone loose in vi, however, I HIGHLY RECOMMEND that you make sure they purchase and are reading the book on the vi editor from O'Reilly & Associates. I was mostly lost and frustrated with vi until I bought this book and read it." --Message ID: <9101240057.AA21147@minerva.che.uc.edu>

Hide extended reviews


See larger cover