Skip to content

Vim 配置

好用的Vim配置,详见 Github amix/vimrc.

yaml配置

为了使yaml配置更舒适,添加 ~/.vimruntime/my_configs.vim文件,在其中添加

autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab

使缩进从4格变成两格。