Answers for "vim join line without space"

0

vim join line without space

gJ does this.

from :help gJ:
Join [count] lines, with a minimum of two lines.
Don't insert or remove any spaces.

You could rebind it to J, if you want to save a keystroke:
:nnoremap J gJ
Posted by: Guest on April-23-2021

Browse Popular Code Answers by Language