vim tab convert to 4space

set expandtab
set tabstop=4
set shiftwidth=4
:%s/\t/ /g
原文地址:https://www.cnblogs.com/lexus/p/2821757.html