Solve vim backspace (BACKSPACE) is not available

Source: Internet
Author: User
Tags eol

Two steps:

1. Remove the annoying VI consistency pattern and avoid some bugs and limitations of previous versions
Set nocompatible

2.backspace has several ways of working, which are VI compatible by default. Very unaccustomed to beginners. People who are not so familiar with the old VI are also very troubled. can be used
Set Backspace=indent,eol,start
To solve.
Indent: If used: Set Indent,:set AI and other auto-indentation, you want to use the backspace bar to indent the field of the deletion, you must set this option. Otherwise, it does not respond.
EOL: If you want to merge two rows with the BACKSPACE key when the row starts in insert mode, you need to set EOL.
Start: To delete the input before this insertion, you need to set this.

Add the above two commands to Vim's system configuration file. With vim command: ver can see the location of the system configuration file, generally in/ETC/VIMRC

Solve vim backspace (BACKSPACE) is not available

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.