Getting Fast: Move & Edit

Moving and Editing Like a Pro

All of these work in Normal mode (press Esc first). No arrow-key marathons required.

Move:

KeyMoves to
h j k lleft, down, up, right
w / bnext / previous word
0 / $start / end of line
gg / Gtop / bottom of file
:42jump to line 42

Edit (Normal mode):

KeyDoes
xdelete one character
dddelete (cut) whole line
yyyank (copy) whole line
ppaste after cursor
uundo
Ctrl+rredo
/wordsearch forward for word (n = next)
Tip: Commands combine with counts: 3dd deletes 3 lines, 5j moves down 5. This composability is vim's superpower - you build complex edits from tiny verbs.
Analogy: Vim is a language: d (delete) + w (word) = dw "delete word". y (yank) + y = copy line. Once you think in verbs + motions, you stop memorizing and start speaking it.