1. 设置文件类型
set filetype=html
2. 设置4个空格代替制表符
set shiftwidth=4
set expandtab
3. 全部:gg=G
选中:v选中要缩进的代码,然后按=键
当前行:==
缩进当前行开始指定行数:count==