系统: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
原文链接:https://www.f2er.com/bash/388051.html系统: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
原文链接:https://www.f2er.com/bash/388051.html