" 启用语法高亮 syntax on " 高亮多余的空白字符及 Tab highlight RedundantSpaces ctermbg=red guibg=red match RedundantSpaces /\s\+$\| \+\ze\t\|\t/ " 使用 4 个空格,不使用 Tab set tabstop=4 set shiftwidth=4 set expandtab set softtabstop=4 " 总是显示 DOS 格式文件中的 ^M set fileformats=unix