答:  tab 空格数设置为4,加入以下五行到~/.vimrc即可

set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4

执行以下命令即可写入:

  echo -e 'set smartindent\n~/.vimrc

 

相关文章:

  • 2022-01-02
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-01-21
  • 2021-09-22
猜你喜欢
  • 2022-02-05
  • 2022-12-23
  • 2021-12-12
  • 2021-12-12
  • 2021-12-12
  • 2021-10-13
  • 2021-05-28
相关资源
相似解决方案