||
打开vim配置文件:
sudo vim /etc/vimrc
set fileencodings=ucs-bom,utf-8,latin1,gb2312,gb18030
set termencoding=utf-8
set enconding=prc
保存退出,source vim /etc/vimrc
即可显示中文
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-21 19:35
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社