Skip to content
Vim
Learn/

Relative Line Jumps

18 / 51

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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

Keys in this lesson

{n}j
Move down n lines in one jump
{n}k
Move up n lines in one jump
All 91 keys →

Practice to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

8j

Move down 8 lines with a count.