vim修改tab空格

sudo vim /etc/vim/vimrc

添加下面几行

set ts=4
set expandtab
set autoindent

ps..不能写成ts = 4,会报错qaq

猜你喜欢

转载自blog.csdn.net/minose/article/details/78804756