Skip to content
Vim Learn
Learn/

Absolute Line Jumps

19 / 51

Vertical Navigation

Absolute Line Jumps

Jump to the top, bottom, or a numbered line.

gg reaches the first line, G reaches the last, and a count before either addresses a specific line directly.

Use gg, G, and {n}gg in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

gg
Jump to the first line of the file
G
Jump to the last line of the file
{n}gg
Jump straight to line n
All 91 keys →

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

G

Jump to the final line with G.