vim设置tab为4个空格

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/renhaofan/article/details/82902331

原文:http://blog.sina.com.cn/s/blog_620ccfbf01010erz.html
可以在/etc/vim/vimrc
中添加:

set ts=4
set expandtab
set autoindent

猜你喜欢

转载自blog.csdn.net/renhaofan/article/details/82902331