Skip to content

↑↓ moveEnter openEsc close

Go to the first line in Vim

Vim 9.1 · 73 shortcuts · checked Nov 2026 · Source: Bram Moolenaar and the Vim community docs

In Vim, press G G on Mac, Windows, Linux. Works when: normal mode.

A chord: press each combination in turn.

More Vim shortcuts: moving

ActionMacWindowsLinux
Move leftHHH
Move downJJJ
Move upKKK
Move rightLLL
Jump to the start of the next wordWWW
Jump back to the start of the wordBBB
Jump to the end of the wordEEE
Go to the start of the line000
Go to the first non-blank characterShift6Shift6Shift6
Go to the end of the lineShift4Shift4Shift4

All 25 in moving · All 73 Vim shortcuts