Anatomy of a motion -
Command + Count + Motion
- Jump to beginning of line -
0
/_
(jumps to the first non-whitespace character) - Jump to end of line -
$
- Move forward by 1 word -
w
(jumps to beginning of the next word) /e
(jumps to end of the next word) - Move backward by 1 word -
b
(jumps to beginning of the previous word) /ge
(jumps to end of the previous word) - Jump to beginning of the file -
gg
- Jump to end of the file -
G
- Move forward to the next instance of the character (
(
in this case) -f(
// NOTE : Repeat motion using,
(for backwards movement) or;
(for forward movement)