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)
1
const line1 = 1;
2
const line2 = 2;
3
const line3 = 3;
4
const line4 = 4;
5
const line5 = 5;
6
const line6 = 6;
7
const line7 = 7;
8
const line8 = 8;

Press `Ctrl+d` to step quickly down through documents, and `Ctrl+u` to leap back up.

Now it's your turn!

  1. Navigate to each green target across the code snippet.
  2. Use the motions and techniques learned in this lesson to land accurately on each target.
  3. See how fast you can complete 10 targets.
0/10
1
const line1 = 1;
2
const line2 = 2;
3
const line3 = 3;
4
const line4 = 4;
5
const line5 = 5;
6
const line6 = 6;
7
const line7 = 7;
8
const line8 = 8;
NORMAL
00:00
NextCtrl+jSearch