Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

Word Navigation Sprint

Estimated time: 10 minutes

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

This lesson requires you to use specific keystrokes to complete it. Your submission will be evaluated based on whether you used the required keystrokes mentioned below, rather than matching a specific output.

w
Use w for forward word movement
b
Use b for backward word movement

What This Means

  • Your solution must include the required keystroke patterns
  • The order of keystrokes may matter depending on the exercise
  • You'll still need to achieve the expected output
  • This helps you practice specific Vim techniques

Helpful commands:

Command Description
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)

Hints

  • 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

Ready for Vim?

Before starting this lesson, be prepared.

Read the directions on the left, and when you're ready, let's go!