1.把/usr/share/vim/vimrc或/etc/vim/vimrc 中的“syntax on”取消注释即可 2.颜色过暗,修改desert.vim文件。/usr/share/vim/vim71/colors/desert.vim中的“hi Folded ctermfg=darkgrey ctermbg=NONE”修改为“hi Folded ctermfg=darkgrey ctermfg=4 ctermbg=7” 3.添加/etc/vim/vimrc中的 if has("gui_running") colorscheme default else colorscheme desert endif