Your Progress
Precision Number Navigation
Estimated time: 10 minutes
Task Instructions
Practice precise movement using count modifiers with movement commands
Practice jumping to specific targets using count modifiers. From Start, use 4j to reach Target A. Calculate the exact number of lines between targets and use precise count+movement commands.
Learning objectives
- Master count modifiers with movement
- Develop ability to calculate distances
- Improve navigation efficiency
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.
\d+j
Use count with j movement
\d+k
Use count with k 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 |
---|---|
[count]j | Move down [count] lines |
[count]k | Move up [count] lines |
[count]h | Move left [count] characters |
[count]l | Move right [count] characters |
Hints
- Count the lines between your position and target
- Use 10j to move down exactly 10 lines
- Combine with horizontal movement: 20l moves 20 characters right
Ready for Vim?
Before starting this lesson, be prepared.
Read the directions on the left, and when you're ready, let's go!