Skip to the main content

Vim

Go to the first character of the line

0

Mac Desktop app Vim default commands

Practice this

Press 0 to go to the first character of the line in Vim.

Where it works: Normal mode

Every documented variant

Variants of this shortcut
System Environment Keys
Linux Desktop app 0
Mac Desktop app 0

Where this comes from

Vim help: index.txt - vim/vim

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction