发布于2019年9月26日2019年9月26日 由shijingleiVim设置缩进大小 按下: ,进入底线命令模式,输入set ts=4,回车,即设置tab键缩进为4 可在~/.vimrc中加入set ts=4,对所有文件生效。