全局:修改/etc/vimrc
个人:当前用户根目录下创建.vimrc
文件中内容增加:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencoding=utf-8 set encoding=utf-8
全局:修改/etc/vimrc
个人:当前用户根目录下创建.vimrc
文件中内容增加:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set termencoding=utf-8 set encoding=utf-8