安装gvim:
-
sudo apt-get install vim-gtk vim-doc cscope
-
sudo apt-get install vim-full
报错原因:
Ubuntu10.04安装时将会把中文区域设置为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_CH.utf8,并采用zh_CN.UTF-8完全相同的菜单设置。
本文介绍了解决Ubuntu 10.04下Gvim因中文区域设置不匹配导致菜单无法正常显示的问题。通过创建软链接的方式使Gvim能够正确识别中文区域设置。
148

被折叠的 条评论
为什么被折叠?



