Skip to content
shinokada edited this page May 11, 2014 · 1 revision

Join

[range]j[lines]
:%j        # join all lines
:j10       # join 10 lines
:5j20      # join from line 5 for 20 lines
:%j!       # replace the new linew with no-spaces
:global/^/join  # join every other lines
:%norm J        # same as above
:5,20join  # join from line 5to 20

12. Editting.md


  1. Join
  2. Folding
Clone this wiki locally