How do I join two lines in vi?

后端 未结 9 1545
后悔当初
后悔当初 2020-12-07 08:41

I have two lines in a text file like below:

S_F
_ID_T_O.DAT
         


        
9条回答
  •  渐次进展
    2020-12-07 09:16

    Shift+J removes the line change character from the current line, so by pressing "J" at any place in the line you can combine the current line and the next line in the way you want.

提交回复
热议问题