Vim · Motions

Jump to first line of file

Press G twice in sequence to move to the top of the file.

G+G
Mac
G + G
Windows
G + G
Linux
G + G

More motions shortcuts in Vim

See all 30 Vim shortcuts →