Commit | Line | Data |
---|---|---|
966c6ec0 KB |
1 | Commands flagged with an asterisk (``*'') may be preceeded by a number. |
2 | Commands of the form ``^X'' are control characters, i.e. control-X. | |
3 | ||
4 | h Display this help. | |
5 | ||
6 | f, ^F, SPACE * Forward N lines, default one screen. | |
7 | b, ^B * Backward N lines, default one screen. | |
8 | j, CR * Forward N lines, default 1 line. | |
9 | k * Backward N lines, default 1 line. | |
10 | d, ^D * Forward N lines, default half screen or last N to d/u. | |
11 | u, ^U * Backward N lines, default half screen or last N to d/u. | |
12 | g * Go to line N, default 1. | |
13 | G * Go to line N, default the end of the file. | |
14 | p, % * Position to N percent into the file. | |
bfe13c81 | 15 | |
966c6ec0 KB |
16 | r, ^L Repaint screen. |
17 | R Repaint screen, discarding buffered input. | |
bfe13c81 | 18 | |
966c6ec0 KB |
19 | m[a-z] Mark the current position with the supplied letter. |
20 | '[a-z] Return to the position previously marked by this letter. | |
bfe13c81 KB |
21 | '' Return to previous position. |
22 | ||
966c6ec0 KB |
23 | /pattern * Search forward for N-th line containing the pattern. |
24 | /!pattern * Search forward for N-th line NOT containing the pattern. | |
25 | ?pattern * Search backward for N-th line containing the pattern. | |
26 | ?!pattern * Search backward for N-th line NOT containing the pattern. | |
27 | n * Repeat previous search (for N-th occurence). | |
28 | ||
29 | E [file] Examine a new file. | |
30 | :n, N * Examine the next file. | |
31 | :p, P * Examine the previous file. | |
32 | :t [tag] Examine the tag. | |
33 | v Run an editor on the current file. | |
34 | ||
35 | =, ^G Print current file name and stats. | |
bfe13c81 | 36 | |
966c6ec0 | 37 | q, :q, or ZZ Exit. |
bfe13c81 | 38 |