ubuntu 下vim修改tab键为4个空格

sudo vim /etc/vim/vimrc

添加如下3行:

set ts=4
set expandtab
set autoindent

猜你喜欢

转载自blog.csdn.net/Carry_all/article/details/83148625