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.

4/19
Free Trial: 3 lessons remaining
Unlock Full Access

Moving by Words

Estimated time: 10 minutes

Task Instructions

Learn word-based movement commands for efficient navigation

Use word movement commands to navigate to the end of the word 'efficient'. Try using 'w' to move forward by words and 'e' to move to the end of the current word.

Learning objectives

  • Learn word-based movement commands
  • Understand the difference between w and e
  • Practice efficient text navigation

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
Move forward by words using w
e
Move to end of word using e
b
Move backward by words using b

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 word
b Move to beginning of previous word

Hints

  • Use 'w' to move to the beginning of the next word, 'e' to move to the end of the current word
  • You can combine numbers with movements, like '3w' to move 3 words forward

Ready for Vim?

Before starting this lesson, be prepared.

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