Vim7.3 official version is released. The vim version installed with apt-get in Ubuntu10.10 is 7.2. If you want to experience the new feature of 7.3, you can only compile it by yourself. Below is the latest version of installation Notes: 1. Install the Terminal Library: sudoapt-getinstalllibncurses5-dev2. Install Mercurial: sudoapt-getinstallmercurial3. Download vim source code, hgclonehttps:
The official version of vim7.3 has been released. The vim version installed with apt-get In Ubuntu 10.10 Is 7.2. If you want to experience the new feature of 7.3, you can only compile it by yourself. The Installation notes for the latest version are as follows:
1. install the Terminal Library: sudo apt-get install libncurses5-dev
2. install Mercurial: sudo apt-get install mercurial
3. Download vim source code, hg clone https://vim.googlecode.com/hg/ vim
4. Go to the source code directory cd vim/src.
5. Compile: make
6. install: sudo make install
When gvim is enabled, the following error occurs: (gvim: 26823): Gtk-WARNING **: Invalid input string
The menu bar is garbled.
Cause:
By default, Ubuntu 10.10 sets the Chinese region to zh_CN.utf8, while GVim can recognize the Chinese region as a zh_CN.UTF-8. Therefore, GVim reports an error at startup and cannot load the Chinese menu normally.
Solution: Edit in Linux ~ /. Vimrc: Edit _ vimrc in the installation directory in Windows
Add the following code:
Set langmenu = zh_CN.UTF-8 "set menu language
Source $ VIMRUNTIME/delmenu. vim "Import and delete the menu script to delete garbled menus
Source $ VIMRUNTIME/menu. vim "imports a normal menu script
Language messages zh_CN.utf-8 "sets the prompt language
Compile and install the stable version gvim vim 7.3 In Ubuntu to solve menu garbled characters