Shortcut

Vim Go to the Start of the Line Shortcut

The Vim shortcut to go to the start of the line is 0 on Windows. It's the same on Mac.

Quick Answer

Windows
0
Mac
0
Web
Not confirmed yet
VimShortcut

Go to the Start of the Line

Windows
0

Moves to the first character in the line.

Learn More

How to go to the start of the line in Vim

  1. Open Vim and go to where you want to go to the start of the line.
  2. Press 0 on Windows or 0 on Mac.

Vim Go to the Start of the Line Shortcut for Windows

Press 0.

Vim Go to the Start of the Line Shortcut for Mac

Press 0.

Vim Go to the Start of the Line Shortcut for Vim Web

We haven't confirmed a Vim Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Vim go to the start of the line shortcut?

On Windows, press 0. On a Mac, press 0.

Is there a Mac shortcut to go to the start of the line in Vim?

Yes: 0.

Does it work in Vim for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify