Solve the problem of turning Vim arrow keys into ABCD under Windows

Source: Internet
Author: User

First, the problem description:

Under Windows to install Git-"installed Msys2-" installed and updated vim (7.4), and then found in the use of Vim can not use the BACKSPACE key, press the arrow key will be played ABCD, no language.

Second, problem solving:

Google a bit, all the way the big God said seems to be ubantu the following question, this is not what I want ah, but it is to find a say how to configure to solve this problem, that is: http://maomaozaoyue.blog.sohu.com/226685289.html

  

Add the following to the/ETC/VIM/VIMRC:

Set nocompatible//Support direction key (remember to delete the note when you write it, otherwise it may not be available)

Set backspace=2//support BACKSAPCE before deleting the key (remember to delete the note when it is written, otherwise it may not be available)

Searched, the amount, and did not VIMRC this file AH.

Wit me, directly inside the shell knocked a VIM, found that there is a description ah, and then follow the instructions in the home directory under the creation of a. vimrc file ah, the specific command is the following:

Vim ~/.VIMRC

Then write the above two sentences into the. vimrc file that you just created (remember to delete the comments, otherwise you can not use, oh, well, I am too tm), and then save.

Then, then then you can, ah, you can use the direction of the Happy button ah, very happy there is no!!! Fallback key Delete can also use Ah!!!

Why so simple, is the TMD so simple ah, I also toss a half-day AH!!!

All right, just the sauce.

  

Solve the problem of turning Vim arrow keys into ABCD under Windows

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.