h or
|
[count] characters to
the left (exclusive). |
l or
or
|
[count] characters to
the right (exclusive). |
k or
or
CTRL-P |
[count] lines upward |
j or
or
CTRL-J or
or
CTRL-N |
[count] lines downward
(linewise). |
0 |
To the first character
of the line (exclusive). |
<Home> |
To the first character
of the line (exclusive). |
^ |
To the first non-blank
character of the line |
$ or
<End> |
To the end of the line
and [count - 1] lines downward |
g0 or
g<Home> |
When lines wrap ('wrap
on): To the first character of the
screen line (exclusive). Differs from "0" when a line is wider than the
screen. When lines don't wrap ('wrap' off): To the leftmost character
of the current line that is on the screen. Differs from "0" when the
first character of the line is not on the screen. |
g^ |
When lines wrap ('wrap'
on): To the first non-blank character
of the screen line (exclusive). Differs from "^" when a line is wider
than the screen. When lines don't wrap ('wrap' off): To the leftmost
non-blank character of the current line that is on the screen. Differs
from "^" when the first non-blank character of the line is not on the
screen. |
g$ or
g<End&gr; |
When lines wrap ('wrap'
on): To the last character of the
screen line and [count - 1] screen lines downward (inclusive). Differs
from "$" when a line is wider than the screen. When lines don't wrap
('wrap' off): To the rightmost character of the current line that is
visible on the screen. Differs from "$" when the last character of the
line is not on the screen or when a count is used. |
f{char} |
To [count]'th occurrence
of {char} to the right. The cursor
is placed on {char} (inclusive). |
F{char} |
To the [count]'th
occurrence of {char} to the left. The
cursor is placed on {char} (inclusive). |
t{char} |
Till before [count]'th
occurrence of {char} to the right. The
cursor is placed on the character left of {char} (inclusive). |
T{char} |
Till after [count]'th
occurrence of {char} to the left. The
cursor is placed on the character right of {char} (inclusive). |
; |
Repeat latest f, t, F or
T [count] times. |
, |
Repeat latest f, t, F or
T in opposite direction [count]
times. |
- <minus> |
[count] lines upward, on
the first non-blank character
(linewise). |
+ or
CTRL-M or
<CR> |
[count] lines downward,
on the first non-blank character
(linewise). |
_
<underscore> |
[count] - 1 lines
downward, on the first non-blank character
(linewise). |
<C-End> or
G |
Goto line [count],
default last line, on the first non-blank
character. |
<C-Home> or
gg |
Goto line [count],
default first line, on the first non-blank
character. |
<S-Right>
or
w |
[count] words forward |
<C-Right>
or
W |
[count] WORDS forward |
e |
Forward to the end of
word [count] |
E |
Forward to the end of
WORD [count] |
<S-Left> or
b |
[count] words backward |
<C-Left> or
B |
[count] WORDS backward |
ge |
Backward to the end of
word [count] |
gE |
Backward to the end of
WORD [count] |