[vim]vim中有中文乱码 sudo gedit /etc/vim/vimrc 在文件的最后加上 let &termencoding=&encoding set fileencodings=utf-8,gbk,ucs-bom,cp936