Excerpt from: http://blog.csdn.net/xiaojun111111/article/details/50810439
http://hongzhguan.iteye.com/blog/1479563
Just put the Ubuntu system reinstall on the virtual machine, and then try VI Editor, found that using VI, can not use the BACKSPACE key to BACKSPACE, backspace key press down to become ABCD, delete key is invalid.
Workaround:
Programme one:
The vim full version can be installed, the keyboard is normal under the full version, and the VI command is also used after installation.
Install Vim:
Ubuntu is preinstalled with the Vim tiny version, and requires a vim full version. Execute the following statement to install the VIM full version:
$sudo Apt-get Remove Vim-common
$sudo apt-get Install vim
This will do, Vim is an excellent software, can be realized in the application. (I use the 2nd command above, and then enter "Y", the system will be installed automatically.) Run successfully! )
Scenario Two:
Using the command ": Set nocompatible" on the VI command line is to set VI not to use compatibility mode.
Linux notes (4) when using the VI Editor in Ubuntu, you cannot use the BACKSPACE key to backspace or not function properly.