December 1998
Beginner
512 pages
12h 13m
English
Table 10.2 summarizes the basic vi commands you learned in this hour.
| Command | Meaning |
|---|---|
| 0 | Move to the beginning of the line. |
| $ | Move to the end of the line. |
| a | Append text—enter into insert mode after the current character. |
| ^b | Back up one screen of text. |
| B | Back up one space-delimited word. |
| b | Back up one word. |
| Backspace | Move left one character. |
| ^d | Move down half a page. |
| D | Delete through the end of the line. |
| d | Delete—dw = delete word, dd = delete line. |
| Escape | Leave insert mode and return to command mode. |
| ^f | Move forward one screen of text. |
| G | Go to the last line of the file. |
| nG | Go to the nth line of the file. |
| h | Move left one character. |
| i | Insert text—enter into insert mode before the current character. |
| j | Move down ... |
Read now
Unlock full access