Shortcut

Vim Move Left or Right Shortcut

The Vim shortcut to move left or right is h / l on Windows. It's the same on Mac.

Quick Answer

Windows
h/l
Mac
h/l
Web
Not confirmed yet
VimShortcut

Move Left or Right

Windows
h/l

Moves the cursor one character at a time.

Learn More

How to move left or right in Vim

  1. Open Vim and go to where you want to move left or right.
  2. Press h / l on Windows or h / l on Mac.

Vim Move Left or Right Shortcut for Windows

Press h / l.

Vim Move Left or Right Shortcut for Mac

Press h / l.

Vim Move Left or Right Shortcut for Vim Web

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

Related Keyboard Shortcuts

Related Guide

Frequently asked questions

What is the Vim move left or right shortcut?

On Windows, press h / l. On a Mac, press h / l.

Is there a Mac shortcut to move left or right in Vim?

Yes: h / l.

Does it work in Vim for the web?

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

Official source · How we verify