解决方法:在/etc/vimrc文件的前面加上以下设置
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set fileformats=unix
set encoding=prc
如下图:
改后效果:
解决方法:在/etc/vimrc文件的前面加上以下设置
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set fileformats=unix
set encoding=prc
如下图:
改后效果: