Shortcut

Vim Join the Next Line Shortcut

The Vim shortcut to join the next line is J on Windows. It's the same on Mac.

Quick Answer

Windows
J
Mac
J
Web
Not confirmed yet
VimShortcut

Join the Next Line

Windows
J

Pulls the line below up onto the current line.

Learn More

How to join the next line in Vim

  1. Open Vim and go to where you want to join the next line.
  2. Press J on Windows or J on Mac.

Vim Join the Next Line Shortcut for Windows

Press J.

Vim Join the Next Line Shortcut for Mac

Press J.

Vim Join the Next 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 join the next line shortcut?

On Windows, press J. On a Mac, press J.

Is there a Mac shortcut to join the next line in Vim?

Yes: J.

Does it work in Vim for the web?

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

Official source · How we verify