Course Lessons
Free Trial: 5 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
Navigate to the end of the word 'efficient' in the sentence below.
Vim is an efficient text editor for programmers and writers alike.