Insert the these four lines into .vimrc
set shiftwidth=4
set tabstop=4
set expandtab "replace tab with space
set smarttab "easy when you use backspace
set shiftwidth=4
set tabstop=4
set expandtab "replace tab with space
set smarttab "easy when you use backspace
本文介绍如何通过编辑.vimrc文件来设置Vim编辑器的Tab宽度、Tab替换为空格等功能,使得代码格式更加统一,提高开发效率。
6548

被折叠的 条评论
为什么被折叠?



