日常笔记解决linux下vim乱码的情况vim ~/.vimrc 加入以下内容: set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936set termencoding=utf-8set encoding=utf-8