vimrc系统文件目录
/usr/share/vim
在vimrc中添加以下代码后,重启vim即可实现按TAB产生4个空格:set ts=4 (注:ts是tabstop的缩写,设TAB宽4个空格)set expandtab #tab用空格代替 如不替代设置为 set noexpandtab