找到 vimrc 檔案,我的是在/etc/vimrc 在最後添加
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set fileformats=unix
set encoding=prc
本文轉自 苑洪武 51CTO部落格,原文連結:http://blog.51cto.com/12927979/1957997
找到 vimrc 檔案,我的是在/etc/vimrc 在最後添加
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set fileformats=unix
set encoding=prc
本文轉自 苑洪武 51CTO部落格,原文連結:http://blog.51cto.com/12927979/1957997