Shortcut

Vim Insert at the Start of the Line Shortcut

The Vim shortcut to insert at the start of the line is I on Windows. It's the same on Mac.

Quick Answer

Windows
I
Mac
I
Web
Not confirmed yet
VimShortcut

Insert at the Start of the Line

Windows
I

Starts typing at the first real character of the line.

Learn More

How to insert at the start of the line in Vim

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

Vim Insert at the Start of the Line Shortcut for Windows

Press I.

Vim Insert at the Start of the Line Shortcut for Mac

Press I.

Vim Insert at 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 insert at the start of the line shortcut?

On Windows, press I. On a Mac, press I.

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

Yes: I.

Does it work in Vim for the web?

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

Official source · How we verify