https://blog.csdn.net/wonengguwozai/article/details/72885933

 

       VIM安装成功后可以使用,但对中文是乱码,解决方法是在vim的配置文档中添加相关设置即可:

 

找到etc/vim/.vimrc

   编辑~/.vimrc文件,加上如下几行:

   set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
   set termencoding=utf-8
   set encoding=utf-8

   问题解决。

相关文章:

  • 2021-10-02
  • 2021-11-06
  • 2021-08-22
  • 2021-07-28
  • 2021-10-09
  • 2022-01-15
猜你喜欢
  • 2021-05-11
  • 2021-11-06
  • 2021-09-15
  • 2021-11-10
  • 2022-12-23
相关资源
相似解决方案