Mission 22 / 52• Advanced Vertical Movement
Window Scrolls
Holding `j` or `k` to scroll is jarring and slows you down. Vim provides half-page scrolls that keep your cursor grounded.
Scrolling keys
- Ctrl+dscroll half a screen DOWN (downward)
- Ctrl+uscroll half a screen UP (upward)
Press Enter to start
1const line1 = 1;2const line2 = 2;3const line3 = 3;4const line4 = 4;5const line5 = 5;6const line6 = 6;7const line7 = 7;8const line8 = 8;Press `Ctrl+d` to step quickly down through documents, and `Ctrl+u` to leap back up.
Now it's your turn!
0 / 4 tasks complete0.0s / 12s par0 / 5 par
Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.
Task 1: Scroll up half a window with Ctrl+u from line 11 to line 6.
Show hint
Press Ctrl+u.
Press Enter to start
1const line1 = 1;2const line2 = 2;3const line3 = 3;4const line4 = 4;5const line5 = 5;6const line6 = 6;7const line7 = 7;8const line8 = 8;9const line9 = 9;10const line10 = 10;11const line11 = 11;12const line12 = 12;13const line13 = 13;14const line14 = 14;15const line15 = 15;16const line16 = 16;17const line17 = 17;18const line18 = 18;19const line19 = 19;20const line20 = 20;jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next