2 S
\bSU
\bUM
\bMM
\bMA
\bAR
\bRY
\bY O
\bOF
\bF C
\bCO
\bOM
\bMM
\bMA
\bAN
\bND
\bDS
\bS
4 Commands marked with * may be preceded by a number, _
\bN.
5 Notes in parentheses indicate the behavior if _
\bN is given.
6 A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
10 ---------------------------------------------------------------------------
12 M
\bMO
\bOV
\bVI
\bIN
\bNG
\bG
14 j CR * Forward one line (or _
\bN lines).
15 k * Backward one line (or _
\bN lines).
16 f ^F SPACE * Forward one window (or _
\bN lines).
17 b ^B * Backward one window (or _
\bN lines).
18 d ^D * Forward one half-window (and set half-window to _
\bN).
19 u ^U * Backward one half-window (and set half-window to _
\bN).
21 R Repaint screen, discarding buffered input.
22 :t Go to supplied tag.
23 ---------------------------------------------------
24 Default "window" is the screen height.
25 Default "half-window" is half of the screen height.
26 ---------------------------------------------------------------------------
28 S
\bSE
\bEA
\bAR
\bRC
\bCH
\bHI
\bIN
\bNG
\bG
30 /_
\bp_
\ba_
\bt_
\bt_
\be_
\br_
\bn * Search forward for (_
\bN-th) matching line.
31 ?_
\bp_
\ba_
\bt_
\bt_
\be_
\br_
\bn * Search backward for (_
\bN-th) matching line.
32 n * Repeat previous search (for _
\bN-th occurrence).
33 N Repeat previous search in reverse direction.
34 ---------------------------------------------------
35 A search pattern may be preceded by one or more of:
36 ! Search for NON-matching lines.
37 ---------------------------------------------------------------------------
39 J
\bJU
\bUM
\bMP
\bPI
\bIN
\bNG
\bG
41 g * Go to first line in file (or line _
\bN).
42 G * Go to last line in file (or line _
\bN).
43 ---------------------------------------------------
45 m_
\b<_
\bl_
\be_
\bt_
\bt_
\be_
\br_
\b> Mark the current position with <letter>.
46 '_
\b<_
\bl_
\be_
\bt_
\bt_
\be_
\br_
\b> Go to a previously marked position.
47 '' Go to the previous position.
48 ---------------------------------------------------
49 A mark is any lower-case letter.
50 ---------------------------------------------------------------------------
52 C
\bCH
\bHA
\bAN
\bNG
\bGI
\bIN
\bNG
\bG F
\bFI
\bIL
\bLE
\bES
\bS
54 :e [_
\bf_
\bi_
\bl_
\be] Examine a new file.
55 :n * Examine the (_
\bN-th) next file from the command line.
56 :p * Examine the (_
\bN-th) previous file from the command line.
57 = ^G Print current file name.
58 ---------------------------------------------------------------------------
60 M
\bMI
\bIS
\bSC
\bCE
\bEL
\bLL
\bLA
\bAN
\bNE
\bEO
\bOU
\bUS
\bS C
\bCO
\bOM
\bMM
\bMA
\bAN
\bND
\bDS
\bS
62 v Edit the current file with $VISUAL or vi(1).
63 ---------------------------------------------------------------------------
65 O
\bOP
\bPT
\bTI
\bIO
\bON
\bNS
\bS
67 -c Repaint by clearing rather than scrolling.
68 -e Quit at end of file.
69 -i Ignore case in searches.
70 -n _
\bn_
\bu_
\bm_
\bb_
\be_
\br Page number of lines per screenful.
71 -p _
\bc_
\bo_
\bm_
\bm_
\ba_
\bn_
\bd Execute the specified commands.
72 -s Squeeze multiple blank lines.
73 -t _
\bt_
\ba_
\bg Examine the file containing tag.
74 -u Change handling of backspaces.