-
Basic and Advanced vi
-
Chapter 1 The vi Text Editor
- A Brief Historical Perspective
- Opening and Closing Files
- Quitting Without Saving Edits
-
Chapter 2 Simple Editing
- vi Commands
- Moving the Cursor
- Simple Edits
- More Ways to Insert Text
- Joining Two Lines with J
- Review of Basic vi Commands
-
Chapter 3 Moving Around in a Hurry
- Movement by Screens
- Movement by Text Blocks
- Movement by Searches
- Movement by Line Number
- Review of vi Motion Commands
-
Chapter 4 Beyond the Basics
- More Command Combinations
- Options When Starting vi
- Making Use of Buffers
- Marking Your Place
- Other Advanced Edits
- Review of vi Buffer and Marking Commands
-
Chapter 5 Introducing the ex Editor
- ex Commands
- Editing with ex
- Saving and Exiting Files
- Copying a File into Another File
- Editing Multiple Files
-
Chapter 6 Global Replacement
- Confirming Substitutions
- Context-Sensitive Replacement
- Pattern-Matching Rules
- Pattern-Matching Examples
- A Final Look at Pattern Matching
-
Chapter 7 Advanced Editing
- Customizing vi
- Executing Unix Commands
- Saving Commands
- Using ex Scripts
- Editing Program Source Code
-
Chapter 8 Introduction to the vi Clones
- And These Are My Brothers, Darrell, Darrell, and Darrell
- Multiwindow Editing
- GUI Interfaces
- Extended Regular Expressions
- Enhanced Tags
- Improved Facilities
- Programming Assistance
- Editor Comparison Summary
- Nothing Like the Original
- A Look Ahead
-
-
Vim
-
Chapter 9 Vim (vi Improved): An Introduction
- Overview
- Where to Get Vim
- Getting Vim for Unix and GNU/Linux
- Getting Vim for Windows Environments
- Getting Vim for the Macintosh Environment
- Other Operating Systems
- Aids and Easy Modes for New Users
- Summary
-
Chapter 10 Major Vim Improvements over vi
- Built-in Help
- Startup and Initialization Options
- New Motion Commands
- Extended Regular Expressions
- Customizing the Executable
-
Chapter 11 Multiple Windows in Vim
- Initiating Multiwindow Editing
- Opening Windows
- Moving Around Windows (Getting Your Cursor from Here to There)
- Moving Windows Around
- Resizing Windows
- Buffers and Their Interaction with Windows
- Playing Tag with Windows
- Tabbed Editing
- Closing and Quitting Windows
- Summary
-
Chapter 12 Vim Scripts
- What’s Your Favorite Color (Scheme)?
- Dynamic File Type Configuration Through Scripting
- Some Additional Thoughts About Vim Scripting
- Resources
-
Chapter 13 Graphical Vim (gvim)
- General Introduction to gvim
- Customizing Scrollbars, Menus, and Toolbars
- gvim in Microsoft Windows
- gvim in the X Window System
- GUI Options and Command Synopsis
-
Chapter 14 Vim Enhancements for Programmers
- Folding and Outlining (Outline Mode)
- Auto and Smart Indenting
- Keyword and Dictionary Word Completion
- Tag Stacking
- Syntax Highlighting
- Compiling and Checking Errors with Vim
- Some Final Thoughts on Vim for Writing Programs
-
Chapter 15 Other Cool Stuff in Vim
- Editing Binary Files
- Digraphs: Non-ASCII Characters
- Editing Files in Other Places
- Navigating and Changing Directories
- Backups with Vim
- HTML Your Text
- What’s the Difference?
- Undoing Undos
- Now, Where Was I?
- What’s My Line (Size)?
- Abbreviations of Vim Commands and Options
- A Few Quickies (Not Necessarily Vim-Specific)
- More Resources
-
-
Other vi Clones
-
Chapter 16 nvi: New vi
- Author and History
- Important Command-Line Arguments
- Online Help and Other Documentation
- Initialization
- Multiwindow Editing
- GUI Interfaces
- Extended Regular Expressions
- Improvements for Editing
- Programming Assistance
- Interesting Features
- Sources and Supported Operating Systems
-
Chapter 17 Elvis
- Author and History
- Important Command-Line Arguments
- Online Help and Other Documentation
- Initialization
- Multiwindow Editing
- GUI Interfaces
- Extended Regular Expressions
- Improved Editing Facilities
- Programming Assistance
- Interesting Features
- elvis Futures
- Sources and Supported Operating Systems
-
Chapter 18 vile: vi Like Emacs
- Authors and History
- Important Command-Line Arguments
- Online Help and Other Documentation
- Initialization
- Multiwindow Editing
- GUI Interfaces
- Extended Regular Expressions
- Improved Editing Facilities
- Programming Assistance
- Interesting Features
- Sources and Supported Operating Systems
-
-
Appendixes
-
Appendix The vi, ex, and Vim Editors
- Command-Line Syntax
- Review of vi Operations
- vi Commands
- vi Configuration
- ex Basics
- Alphabetical Summary of ex Commands
-
Appendix Setting Options
- Solaris vi Options
- nvi 1.79 Options
- elvis 2.2 Options
- Vim 7.1 Options
- vile 9.6 Options
-
Appendix Problem Checklists
- Problems Opening Files
- Problems Saving Files
- Problems Getting to Visual Mode
- Problems with vi Commands
- Problems with Deletions
-
Appendix vi and the Internet
- Where to Start
- vi Web Sites
- A Different vi Clone
- Amaze Your Friends!
- Tastes Great, Less Filling
- vi Quotes
-
-
Colophon
- Title:
- Learning the vi and Vim Editors, Seventh Edition
- By:
- Arnold Robbins, Elbert Hannah, Linda Lamb
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- July 2008
- Ebook Release:
- June 2009
- Pages:
- 496
- Print ISBN:
- 978-0-596-52983-3
- | ISBN 10:
- 0-596-52983-X
- Ebook ISBN:
- 978-0-596-15935-1
- | ISBN 10:
- 0-596-15935-8
The animal on the cover of Learning the vi and Vim Editors, Seventh Edition, is a tarsier, a nocturnal mammal related to the lemur. Its generic name, Tarsius, is derived from the animal's very long ankle bone, the tarsus. The tarsier is a native of the East Indies jungles from Sumatra to the Philippines and Sulawesi, where it lives in the trees, leaping from branch to branch with extreme agility and speed.
A small animal, the tarsier's body is only 6 inches long, followed by a 10-inch tufted tail. It is covered in soft, brown or gray silky fur, and has a round face and huge eyes. Its arms and legs are long and slender, as are its digits, which are tipped with rounded, fleshy pads to improve its grip on trees. Tarsiers are active only at night, hiding during the day in tangles of vines or in the tops of tall trees. They subsist mainly on insects and, though very curious animals, tend to be loners.
The cover image is a 19th-century engraving from the Dover Pictorial Archive. The cover font is Adobe's ITC Garamond. The text font is Linotype Birka, the heading font is Adobe Myriad Condensed, and the code font is LucasFont's TheSansMonoCondensed.
