Solution to GVim with no menu or garbled code under FedoraLinux
Source: Internet
Author: User
Sometimes, after GVim is installed in Linux, you will find that it has no menus or garbled characters in the UTF8 Chinese environment. Originally, GVim detected the language based on the system LANG variable and used the corresponding language file. However, for Chinese, GVim can only recognize zh_CN.utf-8, but cannot recognize without-zh_CN.u...
Sometimes, after GVim is installed in Linux, you will find that it has no menus or garbled characters in the UTF8 Chinese environment. Originally, GVim detected the language based on the system LANG variable and used the corresponding language file. However, for Chinese, GVim can only recognize the zh_CN.utf-8, but cannot recognize the zh_CN.utf8 (Dizzy) )! The solution is very simple. go to the lang Directory of the GVim file directory, such as/usr/share/vim/vim73/lang, and then create a soft link (SYmbolic LinK ): ln-s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim and then open GVim, you will find that the menu is normal! From Bill cover's blog
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service