Vim lessons
Practice
Moderate
10 min
Word Navigation Sprint
Task Instructions
Race through text using word-based movement commands
Use word movement commands to quickly navigate to and fix the typos. Practice using 'w' to jump to word beginnings, 'e' to word endings, and 'b' to go backwards.
Learning objectives
- Master word-based navigation
- Understand difference between w/W and e/E
- Learn efficient code navigation patterns
Required keystrokes
Your submission is checked for these keystrokes, not just the final text — so reach for the technique, not a workaround.
- w Use w for forward word movement
- b Use b for backward word movement
Helpful commands
- w
- Move to beginning of next word
- e
- Move to end of current/next word
- b
- Move to beginning of previous word
- W
- Move to next WORD (skip punctuation)
- E
- Move to end of WORD (skip punctuation)
Stuck? Peek at a hint 3 hints · try it on your own first
- w = beginning of next word, e = end of current/next word
- W and E skip punctuation, w and e stop at punctuation
- Combine with counts: 3w moves forward 3 words
" Read the task on the left.
" A live Vim editor opens right here.
" Finish the edits, then submit.
~
~
NORMAL