Cygwin vi editor directional keys and backspace key solutions

Source: Internet
Author: User

    1. Modify the. virc file (if it is not created)
      VI. VIRC
    2. Add the following content
      Set NOCP
      Set Backspace=start,indent,eol
    3. Save exit
      : Wq

If it is vim, modify the. vimrc file.

Cygwin I do not want to introduce more, I would like to say with Cygwin to write *nix under the program.
Since the Cygwin default installation (which is the recommended installation), there is no text editor installed,
My main purpose today is to put the text editor vim on it first.
Since the Cygwin has been installed, so do not have to uninstall (in fact, under Windows Uninstall Cygwin more trouble, not studied),
Take your installer out and reinstall it, I'll just say one key step, and the rest will be the default as you originally installed it.
All the way "next" come on, stop here:

Click on the "View" button above, you can view the installation information of all Cygwin packages, keep is installed, skip is the installation
Find the one we want to install with VIM:

See no: First it was skipped.
We click on skip above to make it this way (of course other versions are also available):

Next, it will be installed on the server to download the package, automatic installation, installation completed, all OK.


Look at the results:

Transferred from: http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=26669282&id=4068363

Http://blog.chinaunix.net/uid-15070602-id-2779056.html

Yestreenstars

Motoste

Cygwin vi editor directional keys and backspace key solutions

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.