我试图在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中的更改。