vim制表符占位个数修改

进入配置文件:
$ sudo vi /etc/vim/vimrc

在文件末尾添加:
set ts=4

原文地址:https://www.cnblogs.com/webyyq/p/7545866.html