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

后端 未结 6 975
小蘑菇
小蘑菇 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

    This may seem obvious, but if you are pasting from an externally copied buffer it will not work with just visual mode paste. What you can do is first do a normal paste in an empty area and vertical cut/paste using the above method.

提交回复
热议问题