How to transpose the contents of lines and columns in a file in Vim?

前端 未结 6 656
既然无缘
既然无缘 2021-02-02 16:49

I know I can use Awk, but I am on a Windows box, and I am making a function for others that may not have Awk. I also know I can write a C program, but I would love not to have s

6条回答
  •  一个人的身影
    2021-02-02 17:37

    I've developed a vim plugin to do it. You can find it here. Run :Transpose to transpose the whole file.

提交回复
热议问题