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