How do I paste a column of text after a different column of text in Vim?

后端 未结 6 963
小蘑菇
小蘑菇 2020-12-07 11:22

I have two columns full of text, and I want to get them side-by-side. For example, I have

abc
def
ghi

and

123
456
789
         


        
6条回答
  •  [愿得一人]
    2020-12-07 11:34

    Use visual block (ctrl-v) to cut the letter column. Then move to the first line of the number column. Move to the end and make one space. Then paste the letter column.

提交回复
热议问题