1、要有root用户权限

2、已经安装vim

3、编辑/etc/vim/vimrc 文件,添加set ts=4 

vim /etc/vimrc
    #按大写G到最后一行,添加set ts=4
    set ts = 4
    #wr退出保存!

 

相关文章:

  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
  • 2021-10-09
  • 2021-10-09
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-15
  • 2021-10-18
  • 2021-07-19
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
相关资源
相似解决方案