打开 vim /etc/vim/vimrc
在里面加入如下代码:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
source /etc/vim/vimrc
vim编辑器乱码
猜你喜欢
转载自blog.csdn.net/qq_33709508/article/details/104861939
今日推荐
周排行