| 1 |
#command |
| 2 |
# BASIC NAVIGATION |
| 3 |
j forw-line # Down one line |
| 4 |
k back-line # Up one line |
| 5 |
d forw-scroll # Down half page |
| 6 |
u back-scroll # Up half page |
| 7 |
f forw-screen # Down one page |
| 8 |
b back-screen # Up one page |
| 9 |
g goto-line 1 # Top of file |
| 10 |
G end # Bottom of file |
| 11 |
< goto-line 1 # Alternate go to top |
| 12 |
> end # Alternate go to bottom |
| 13 |
n repeat-search # Next match |
| 14 |
N reverse-search # Previous match |
| 15 |
/ forw-search # Forward search |
| 16 |
? back-search # Backward search |
| 17 |
q quit # Quit safely |
| 18 |
r repaint # Repaint screen |
| 19 |
F forw-screen +F # Follow mode |
| 20 |
m set-mark # Set mark |
| 21 |
' goto-mark # Jump to mark |
| 22 |
` goto-mark # Jump to mark (backtick) |
| 23 |
p percent # Jump to percent of file |
| 24 |
% percent # Same |
| 25 |
|
| 26 |
# DISABLED COMMANDS — SECURITY or STABILITY RISK |
| 27 |
! # Disable shell escape |
| 28 |
| # Disable pipe to shell |
| 29 |
v # Disable open in editor |
| 30 |
e # Disable edit file |
| 31 |
: # Disable command prompt |
| 32 |
. # Disable repeat previous command |
| 33 |
= # Disable status |
| 34 |
s # Disable status |
| 35 |
h # Disable help screen |
| 36 |
t # Disable next tag |
| 37 |
Q # Disable alternate quit |
| 38 |
|