Vim What?CommandsJ
J

The J command in Vim

Command

join lines

Join — append the next line to the end of the current line, replacing the newline with a single space. Use gJ to join without adding a space.
Examples

Reference

Official Vim help for J

Learn every Vim command visually — right in your browser.

Add Vim What? to Chrome — Free

Also on Firefox.

Related commands