vim 退出列模式

Exit column mode for vim

我试图在 vim 中进入列模式 (:%!column -t) 以查看 csv,但它用逗号以外的其他东西划定,现在我的信息不可读,并且 CTRL-V现在不再显示上述命令,而是显示:%!column -t^M

我如何退出 vim/fix 这个?

$ man column | grep "\-s"
     column [-entx] [-c columns] [-s sep] [file ...]
     -s      Specify a set of characters to be used to delimit columns for the -t option.
             by default, or with the characters supplied using the -s option.  Useful for pretty-printing displays.

-s 选项允许您指定所需的分隔符。

您可以使用 u 按钮撤消 vim 中的更改。