转自ubuntu.org.cn

http://forum.ubuntu.org.cn/viewtopic.php?f=68&t=268875

原因:

Ubuntu 10.04 Lucid Lynx默认安装将会把中文区域设置为zh_CN.utf8,而GVim能识别的中文区域设置为zh_CN.UTF-8。因此GVim会在启动时报错,且无法正常加载中文菜单。

解决方案:

代码:
cd /usr/share/vim/vim72/lang
sudo ln -s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim


此方法使得GVim可以识别zh_CN.utf8,并采用于zh_CN.UTF-8完全相同的菜单设置。并且不影响系统的中文区域设置。
为了您的安全,请只打开来源可靠的网址

打开网站    取消

来自: http://hi.baidu.com/liuyix/blog/item/e3327ac00486f3160ff4772a.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2022-02-02
  • 2021-07-22
  • 2021-11-30
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案