系统:ubuntu16.04
$cd ~
$touch .vimrc
$vim .vimrc
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set termencoding=utf-8
set fileformats=unix
set encoding=prc
系统:ubuntu16.04
$cd ~
$touch .vimrc
$vim .vimrc
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set termencoding=utf-8
set fileformats=unix
set encoding=prc