Chapter 3. Moving Around
in a Hurry
You will not use vi just to create new files.
You'll spend a lot of your time in vi editing existing files.
You rarely want to simply open to the first line in the file and
move through it line by line.
You want to get to a specific place in a file and start work. All edits begin by moving the cursor to where you want to begin the edit
(or, with ex line editor commands, by identifying the line
numbers to be edited).
This chapter shows you how to think about
movement in a variety of ways (by screens, by text, by patterns, or by
line numbers).
There are many ways to move in vi, since editing
speed depends on getting to your destination with only a few keystrokes. This chapter covers:
 |  |  | 2.6. Review of Basic vi Commands |  | 3.2. Movement by Text Blocks |
Copyright © 2003 O'Reilly & Associates. All rights reserved.
|
|