Tips to Help You Use vi
This section covers the third group of vi commands to learn. It includes the standard UNIX command to spell check a text file, which is very crude as you will see. It includes a procedure on how to format a paragraph if some lines are too short or too long. It covers how to recover your changes if vi terminates before you save your work. The last tip shows how to invoke vi in read-only mode.
Restoring the Whole Line Using the U Command
In vi Command mode, capital U will undo all changes on the current line since you moved to it. After you leave a line, you lose the ability to restore it to its original state.
Using spell to Find Misspelled Word
Standard UNIX has only minimal spell-checking capability. The following steps ...