第一种配置参数
set ts=4set sw=4
第二种配置参数set ts=4set expandtabset autoindent实测有效
在vim中设置tab缩进为4个字符
原文:https://blog.51cto.com/14613575/2456975