安装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完全相同的菜单设置。