Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
43 used & new from $11.96

Have one to sell? Sell yours here
 
   
Learning the vi and Vim Editors
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Learning the vi and Vim Editors (Paperback)

by Arnold Robbins (Author), Elbert Hannah (Author), Linda Lamb (Author)
Key Phrases: outline mode, simple edits, buffer list, Keystrokes Results, Command Function, Quickfix List (more...)
5.0 out of 5 stars See all reviews (6 customer reviews)

List Price: $34.99
Price: $23.09 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.90 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Monday, July 13? Choose One-Day Shipping at checkout. Details
29 new from $18.72 14 used from $11.96
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Learning the vi and Vim Editors and get Ant: The Definitive Guide, 2nd Edition at an additional 5% off Amazon.com's everyday low price.

Learning the vi and Vim Editors + Ant: The Definitive Guide, 2nd Edition
Buy Together Today: $47.32

Customers Who Bought This Item Also Bought

sed & awk (2nd Edition)

sed & awk (2nd Edition)

by Dale Dougherty
4.3 out of 5 stars (40)  $23.07
VI Editor Pocket Reference

VI Editor Pocket Reference

by Arnold Robbins
3.9 out of 5 stars (17)  $9.95
Classic Shell Scripting

Classic Shell Scripting

by Arnold Robbins
4.6 out of 5 stars (10)  $23.07
Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))

Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))

by Cameron Newham
4.1 out of 5 stars (33)  $23.07
bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly))

bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly))

by Carl Albing
4.5 out of 5 stars (11)  $31.49
Explore similar items

Editorial Reviews

Product Description
There's nothing that hard-core Unix and Linux users are more fanatical about than their text editor. Editors are the subject of adoration and worship, or of scorn and ridicule, depending upon whether the topic of discussion is your editor or someone else's. vi has been the standard editor for close to 30 years. Popular on Unix and Linux, it has a growing following on Windows systems, too. Most experienced system administrators cite vi as their tool of choice. And since 1986, this book has been the guide for vi. However, Unix systems are not what they were 30 years ago, and neither is this book. While retaining all the valuable features of previous editions, the 7th edition of Learning the vi and vim Editors has been expanded to include detailed information on vim, the leading vi clone. vim is the default version of vi on most Linux systems and on Mac OS X, and is available for many other operating systems too. With this guide, you learn text editing basics and advanced tools for both editors, such as multi-window editing, how to write both interactive macros and scripts to extend the editor, and power tools for programmers -- all in the easy-to-follow style that has made this book a classic. Learning the vi and vim Editors includes: A complete introduction to text editing with vi: How to move around vi in a hurry Beyond the basics, such as using buffers vi's global search and replacement Advanced editing, including customizing vi and executing Unix commands How to make full use of vim: Extended text objects and more powerful regular expressions Multi-window editing and powerful vim scripts How to make full use of the GUI version of vim, called gvim vim's enhancements for programmers, such as syntax highlighting, folding and extended tags Coverage of three other popular vi clones -- nvi, elvis, and vile -- is also included. You'll find several valuable appendixes, including an alphabetical quick reference to both vi and ex mode commands for regular vi and for vim, plus an updated appendix on vi and the Internet. Learning either vi or vim is required knowledge if you use Linux or Unix, and in either case, reading this book is essential. After reading this book, the choice of editor will be obvious for you too.

About the Author
Arnold Robbins is a professional programmer and technical author who's been working with various Unix systems since 1980, and with GNU/Linux systems since 1996. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for awk. He is currently the maintainer of gawk and its documentation.

A software engineer at Intel, Arnold is the author and/or coauthor of several bestselling titles from O'Reilly, including Unix In A Nutshell, Effective awk Programming, sed & awk, and Classic Shell Scripting.

Elbert is a professional software engineer and software architect recently finishing a 21-year career in the telcom industry. He wrote a full screen editor in assembler in 1983 as his first professional assignment, and has had special interest in editors since. He loves connecting Unix to anything and once wrote a stream editor program to automate JCL edits for mainframe monthly configurations by streaming mainframe JCL to a stream editor on an RJE connected Unix box.

Linda Lamb is a former employee of O'Reilly Media, where she worked in various capacities, including technical writer, editor of technical books, and marketing manager. She also worked on O'Reilly's series of consumer health books, Patient Centered Guides.

Product Details

  • Paperback: 492 pages
  • Publisher: O'Reilly Media, Inc.; 7 edition (July 21, 2008)
  • Language: English
  • ISBN-10: 059652983X
  • ISBN-13: 978-0596529833
  • Product Dimensions: 8.9 x 7 x 1.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars See all reviews (6 customer reviews)
  • Amazon.com Sales Rank: #24,893 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #2 in  Books > Computers & Internet > Software > Word Processors & Editors > VI
    #26 in  Books > Computers & Internet > Operating Systems > Unix
    #31 in  Books > Computers & Internet > Graphic Design > Website Architecture & Usability

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Learning the vi and Vim Editors
83% buy the item featured on this page:
Learning the vi and Vim Editors 5.0 out of 5 stars (6)
$23.09
VI Editor Pocket Reference
5% buy
VI Editor Pocket Reference 3.9 out of 5 stars (17)
$9.95
Learning the vi Editor (6th Edition)
5% buy
Learning the vi Editor (6th Edition) 4.7 out of 5 stars (42)
$21.86
sed & awk (2nd Edition)
4% buy
sed & awk (2nd Edition) 4.3 out of 5 stars (40)
$23.07

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(8)
(8)
(4)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

6 Reviews
5 star:
 (6)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
16 of 16 people found the following review helpful:
5.0 out of 5 stars An updated version of a very useful and well-written little book, August 3, 2008
By calvinnme "Texan refugee" (Fredericksburg, Va) - See all my reviews
(TOP 10 REVIEWER)      
vi, like many of the utilities developed during the early years of Unix, has a reputation for being hard to navigate. Bram Moolenaar's enhanced clone, Vim ("vi Improved"), has gone a long way toward removing reasons for such impressions. Vim includes many conveniences, visual guides, and help screens. It has become possibly the most popular version of vi, so this seventh edition of this book devotes seven new chapters to it in Part 2. However, many other worthy clones of vi also exist and they are covered in part 3.

The first two chapters present some simple vi commands with which you can get started. Chapters 3 and 4 concentrate on easier ways to do tasks. Chapters 5 through 7 provide tools that help you shift more of the editing burden to the computer. They introduce you to the ex line editor underlying vi, and they show you how to issue ex commands from within vi.

Chapter 8, provides an introduction to the extensions available in the four vi clones covered in this book. It centralizes in one place the descriptions of multiwindow editing, GUI interfaces, extended regular expressions, facilities that make editing easier, and several other features, providing a roadmap to what follows in the rest of this book. It also provides a pointer to source code for the original vi, which can be compiled easily on modern Unix systems, including Linux.

Part 2 describes Vim, the most popular vi clone. Chapter 9, provides a general introduction to Vim, including where to get binary versions for popular operating systems and some of the different ways to use Vim. Chapter 10 describes the major improvements in Vim, such as built-in help, control over initialization, additional motion commands, and extended regular expressions. Chapter 11, focuses on multiwindow editing, which is perhaps the most significant additional feature over standard vi. This chapter provides all the details on creating and using multiple windows.

Chapter 12, looks into the Vim command language, which lets you write scripts to customize and tailor Vim to suit your needs. Much of Vim's ease of use comes from the large number of scripts that other users have already written and contributed to the Vim distribution. Chapter 13 looks at Vim in modern GUI environments. Chapter 14 focuses on Vim's use as a programmer's editor, above and beyond its facilities for general text editing. Of particular value are the folding and outlining facilities, smart indenting, syntax highlighting, and edit-compile-debug cycle speedups. Chapter 15, is a bit of a catch-all chapter, covering a number of interesting points that don't fit into the earlier chapters.

Part 3 describes three other popular vi clones: nvi, elvis, and vile. Chapters 16 through 18 cover these clones and show you how to use them, discussing the features that are specific to each one.

Part 4 provides useful reference material. Appendix A lists all vi and ex commands, sorted by function. It also provides an alphabetical list of ex commands. Selected vi and ex commands from Vim are also included. Appendix B lists set command options for vi and for all four clones. Appendix C consolidates checklists found earlier in the book. Appendix D describes vi's place in the larger Unix and Internet culture.

vi and its clones may seem like backwards tools in the 21st century, but at a very low level of operation, it may be all you have. It is good to understand it or at least have a reference where you can get up to speed quickly if you need to do so. You may say this is only something system admins need to know, but at one time or another we all turn into system administrators at some level. Also, vi is one of the few editing tools you can count on to be on every Unix system. You cannot say the same of dtpad (most commonly on Sun workstations) or nedit (common on SGI and Sun workstations). Sometimes you have to trade ubiquity for intuitiveness, and in the case of Unix editors, this is one of those times.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 9 people found the following review helpful:
5.0 out of 5 stars It's all about power and control, September 4, 2008
I read this with both joy and sadness. Joy because it's a great treatment of vi and its clones, but sadness because so few will appreciate it.

Nowadays it's mostly programmers who understand the value of a text editor as opposed to a word processor. For the rest of the world, any text editor is just a clumsy, difficult beast that seems to belong in another era. Ordinary computer users just don't grok text editors.

Yet I use vi every day. Yes, for writing programs and scripts, but also for creating HTML files and anything else I need to store away. Why I use it for HTML is obvious to any programmer: advanced editing is just as apt to be needed there as in program text. But again, the average person, even those who write raw HTML, just doesn't understand that.

They miss out on so much. Tasks that I can do in seconds, sometimes fractions of seconds, will have them bumbling along for minutes or worse. Sometimes their word processor or HTML editor can help them a little, but none of those tools have any fraction of the power that vi offers.

Even for "ordinary" files, lists, records and the like, I tend to use vi where most folks would automatically turn to a spreadsheet or database. I can easily import my raw data into those other tools if I need to, but it's much easier to work on the data in text form. Vi gives me the power to do mass changes that would always be clumsy in any other tool.

That's what it is about: power and control. Efficiency. Speed. If you understand even part of what I'm talking about, you'll want this book. As for the rest of you.. well, I feel sorry for you. You have no idea what you are missing.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
3 of 4 people found the following review helpful:
5.0 out of 5 stars Best vi Reference Around, October 23, 2008
By Daniel McKinnon (Tewksbury, MA USA) - See all my reviews
(TOP 500 REVIEWER)   
'Learning the vi and Vim Editors' is the ultimate reference for using 'vi' out there on the market. Now in its 7th (yes SEVENTH) edition, this book has been around for 22 years and there is a reason. 450+ pages are spread over XX chapters:

01. Basics
02. Simpled Editing
03. Movement
04. Beyond the Basics
05. ex Editor
06. Global Replacement
07. Advanced Editing
08. vi Clones
09. Vim
10. Vim Improvements Over vi
11. Multiple Windows In Vim
12. Vim Scripts
13. Graphical Vim
14. Vim Enhancements
15. Other Cool Vim Stuff
16. nvi
17. Elvis
18. vile

If you are a Linux user or need vi on a daily basis you owe it to yourself to pick up this great book. It's a definitive resource and well worth the time and money.

***** RECOMMENDED
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Good Book
I found the book "Learning the vi and Vim Editors" to be a very thorough book in covering the foundations of these complex tools. Read more
Published 2 months ago by Andrei Mouravski

5.0 out of 5 stars Best Vi/Vim Book on the Market
This new edition goes above and beyond of what's currently available in the area of Vi/Vim tutorials. Read more
Published 9 months ago by Michael Schilli

5.0 out of 5 stars Updated and Improved Version of a Classic
Vi through the years has been the topic of many "geek debates." Maybe not quite as big as the "Windows - Mac arguments," but vi and its companion editor Emacs both have their... Read more
Published 10 months ago by Todd Hawley

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
C# or Java? 32 3 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Turn On the Savings

Home Improvement Value Center
Shop for bathroom faucets in the Home Improvement Value Center, where the savings can flow as much as 50% off brand-name products.

Shop the Value Center

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Keep It Under Cover

Shop for Power Equipment Covers
Protect your outdoor power tools and equipment from the elements with these durable covers.

Shop all outdoor power and lawn equipment

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates