Many of the commands specified next can be applied to a range of lines, rather than the whole file. To specify a line range;
1. Get into command mode.
2. Type a colon.
3. Type a start line, an optional comma, and a stop line.
This chapter is broken up into the following sections:
Title of the Section | What It Really Means |
Just Enough to Get By | Quick start for beginners. |
Starting and Stopping vi | What it sounds like. |
Position within a File | Scrolling and motion. |
Searching and Replacing | Also includes pattern matching examples. |
Adding and Deleting Text | Invoking edit mode, also deleting. |
Yanking and Putting | Not unlike copy & paste. |
Shell Interaction | Shell functions available in an edit session. |