我在 Windows 7 上使用 Vim 7.3 并在我的 vimrc 中有以下设置:
set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
如果我在“插入模式”中使用Tab或在“命令模式”中使用>>,我的文本将缩进 4 个空格。但是如果我在“冒号命令模式”中使用>>(我不知道它是否真的像那样调用),例如使用范围
:30,35>>
文本仍然缩进 8 个空格。
将其更改为 4 个空格的正确设置是什么?
我在 Windows 7 上使用 Vim 7.3 并在我的 vimrc 中有以下设置:
set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
如果我在“插入模式”中使用Tab或在“命令模式”中使用>>,我的文本将缩进 4 个空格。但是如果我在“冒号命令模式”中使用>>(我不知道它是否真的像那样调用),例如使用范围
:30,35>>
文本仍然缩进 8 个空格。
将其更改为 4 个空格的正确设置是什么?