我曾尝试在vim中进入列模式(:%!column -t
)以查看csv,但是它用逗号以外的其他符号表示,现在我的信息不可读,并且CTRL-V
现在不再显示上述命令,但是而是显示:%!column -t^M
。
我将如何退出vim /修复此问题?
$ 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中的更改。