摘要: 添加中文字符编码:$sudo vim /var/lib/locales/supported.d/local#添加下面的中文字符集zh_CN.GBK GBKzh_CN.GB2312 GB2312zh_CN.GB18030 GB18030使其生效:$sudo dpkg-reconfigure localesvim:打开vim的配置文件,位置在/etc/vim/vimrc在其中加入set fileencodings=utf-8,gb2312,gbk,gb18030set termencoding=utf-8set encoding=prc保存退出source /etc/vim/vimrc此时vim就 阅读全文
posted @ 2011-03-31 18:35 Charliee 阅读(1557) 评论(0) 推荐(0) 编辑