vim乱码解决方法

vim乱码解决方法:
在根目录下新建一个.vimrc文件,在里面写上
let &termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936

Leave a Reply

Your email address will not be published. Required fields are marked *