簡體   English   中英

退出vim的列模式

[英]Exit column mode for vim

我試圖在 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 中的更改。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM