Skip to content
Vim
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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

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 to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

gg

Jump to the first line of the file with gg.