Shortcut

Vim Move Backward by a Word Shortcut

The Vim shortcut to move backward by a word is b on Windows. It's the same on Mac.

Quick Answer

Windows
b
Mac
b
Web
Not confirmed yet
VimShortcut

Move Backward by a Word

Windows
b

Jumps to the start of the previous word.

Learn More

How to move backward by a word in Vim

  1. Open Vim and go to where you want to move backward by a word.
  2. Press b on Windows or b on Mac.

Vim Move Backward by a Word Shortcut for Windows

Press b.

Vim Move Backward by a Word Shortcut for Mac

Press b.

Vim Move Backward by a Word 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 move backward by a word shortcut?

On Windows, press b. On a Mac, press b.

Is there a Mac shortcut to move backward by a word in Vim?

Yes: b.

Does it work in Vim for the web?

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

Official source · How we verify