vim的退出列模式

问题描述 投票:0回答:1

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

我将如何退出vim /修复此问题?

macos vim editor vi
1个回答
0
投票
$ 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中的更改。

© www.soinside.com 2019 - 2024. All rights reserved.