Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是 Vim 中一些代码的屏幕截图。那些^I符号惹恼了我。如果它们是制表符,为什么 Vim 不按预期将它们显示为空白?我有以下内容.vimrc:
^I
.vimrc
set expandtab set tabstop=4 set softtabstop=4 set shiftwidth=4
这
:set list
命令导致vi或vim将制表符显示为^I,将行尾显示为$.
vi
vim
$
类型:
:set nolist
将其关闭。(默认情况下它应该是关闭的,除非你在你的.vimrc.)
http://vimdoc.sourceforge.net/htmldoc/usr_05.html#05.7