避免菜单和提示出现乱码:
修改_vimrc文件,如下:
set encoding=utf-8
set langmenu=zh_CN.UTF-8
language message zh_CN.UTF-8
或者
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
set fileencoding=utf-8
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim