.vimrc

变量名           缩写        含义 
(no)smartindent si          基于autoindent的一些改进 
tabstop=X       ts          编辑时一个TAB字符占多少个空格的位置。 
shiftwidth=X    sw          使用每层缩进的空格数。 
(no)expandtab   (no)et      是否将输入的TAB自动展开成空格。开启后要输入TAB,需要Ctrl-V<TAB> 
softtabstop=X   sts         方便在开启了et后使用退格(backspace)键,每次退格将删除X个空格 

 

相关文章:

  • 2021-12-27
  • 2021-11-08
  • 2021-06-30
  • 2022-12-23
  • 2021-12-12
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-27
  • 2021-08-17
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案