Mission 19 / 52• Advanced Vertical Movement
Relative Line Jumps
Every movement in Vim can be preceded by a count. `3j` moves down 3 lines; `5k` moves up 5 lines.
Modern Vim setups use relative line numbers so you can glance at any line and immediately see the exact count needed to reach it.
Counted line jumps
- 3jjump down 3 lines
- 2kjump up 2 lines
- 4wjump forward 4 words
Press Enter to start
1// Line 0: Header2const port = 3000;3const host = "localhost";4const env = "development";5const ssl = false;6// Line 5: FooterFrom the top line, press `3j` or `4j` to jump directly down several lines in one tap.
Now it's your turn!
0 / 4 tasks complete0.0s / 14s par0 / 10 par
Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.
Task 1: Jump down three lines with 3j from line 1 to line 4.
Show hint
Type 3j.
Press Enter to start
1line1();2line2();3line3();4line4();jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next