From http://blog.csdn.net/njnu_mjn/article/details/7935103
Using the installation package to install Windows Version Vim (: http://www.vim.org/download.php), VIM automatically sets the vim interface language based on the language of windows. How can I change it to English?
Find the file named "_ vimrc" under the installation root directory of VIM (my path is D: \ Program Files \ Vim), in the first line:
[Plain]View plaincopy
- Set nocompatible
And the second line:
[Plain]View plaincopy
- Source $ vimruntime/vimrc_example.vim
Add the following code ("followed by a comment ):
[Plain]View plaincopy
- Let $ lang = 'en' "Set message language
- Set langmenu = EN "set menu's language of gvim. No spaces beside '='
In this way, the interfaces of vim and gvim are in English.
For more information about language settings, see the vim command ": Help LAN"
Note:
The Vim version in this article is vim7.3, and Windows Version: win7 professional
References:
Http://stackoverflow.com/questions/126853/how-do-i-set-the-ui-language-in-vim
Or click Edit and then start the settings to add the following code:
"Set the menu & the message to English
Set langmenu = en_us
Let $ lang = 'en _ us'
Source $ vimruntime/delmenu. Vim
Source $ vimruntime/menu. Vim