How to set the vim interface language (Chinese by default) for Windows to English

Source: Internet
Author: User

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

  1. Set nocompatible

And the second line:

 

[Plain]View plaincopy

  1. Source $ vimruntime/vimrc_example.vim

 

Add the following code ("followed by a comment ):

 

[Plain]View plaincopy

  1. Let $ lang = 'en' "Set message language
  2. 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

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.