Vertical Navigation
Relative Line Jumps
Prefix j or k with a count to travel an exact distance.
Counts keep vertical movement declarative: decide the distance once instead of checking the cursor after every repeated key.
Use {n}j, and {n}k in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.
Keys in this lesson
- {n}j
- Move down n lines in one jump
- {n}k
- Move up n lines in one jump
Practice against the clock.
The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.