Mission 21 / 52• Advanced Vertical Movement
Paragraph Jumps
In code, blank lines separate logical blocks: functions, classes, and import sections.
Vim treats text delimited by blank lines as paragraphs. `{` and `}` jump across them instantly.
Paragraph navigation
- }jump forward to the next blank line (end of block)
- {jump backward to the previous blank line (start of block)
1function fetchFirst() {2 return 1;3}4 5function fetchSecond() {6 return 2;7}8 9function fetchThird() {10 return 3;11}Press `}` to jump from function to function without stopping on any intermediate lines.
Now it's your turn!
- Navigate to each green target across the code snippet.
- Use the motions and techniques learned in this lesson to land accurately on each target.
- See how fast you can complete 10 targets.
0/10
1function fetchFirst() {2 return 1;3}45function fetchSecond() {6 return 2;7}89function fetchThird() {10 return 3;11}NORMAL
00:00
NextCtrl+jWindow Scrolls