liunx Vim 设置行号 临时修改 :steam nu 永久修改 vim /etc/vimrc //系统VIM配置 在有set的位置加set nu 即可 设置vim的Tab长度 vim /etc/vimrc //vim系统配置 在其中添加 set ts=4 # 设置tab为4个空格 set expandtab set autoindent