设置选项

通常你会使用:set 在你的 .vimrc 中设置你喜欢的选项。有许多选项可以更改。

例如,为了使用空格进行缩进:

:set expandtab
:set shiftwidth=4
:set softtabstop=4