In Ubuntu, the direction keys cannot be used when vi is being edited. ABCD is generated when a keyboard is pressed in one direction. It is very troublesome to insert letters, the Return key cannot be deleted. Solution: you can install the vimfull version. In the full version, the keyboard is normal. After installation, use the vi command. Install vim: Ubuntu is preinstalled with the vimtiny version, but the vimfull version is required. Run the following statement to install vimfull: sudoap
In Ubuntu, the direction keys cannot be used when vi is being edited. ABCD is generated when a keyboard is pressed in one direction. It is very troublesome to insert letters, the Return key cannot be deleted.
Solution:
You can install the vim full version. In the full version, the keyboard is normal. After installation, use the vi command.
Install vim:
Ubuntu is pre-installed with the vim tiny version, but requires the vim full version. Run the following statement to install vim full:
Sudo apt-get remove vim-common
Sudo apt-get install vim
In this way, a new version is installed. All the commonly used keyboard operations are good. This problem is very painful!
Recommended reading:
Vim Learning Guide http://www.linuxidc.com/Linux/2013-08/89096.htm
Quick learn Vi editor http://www.linuxidc.com/Linux/2013-08/88586.htm
Powerful Vim editor http://www.linuxidc.com/Linux/2013-07/87544.htm
Build a Vim Development Environment http://www.linuxidc.com/Linux/2013-07/87363.htm on CentOS 6.2
Vim 7.4a release, new and faster http://www.linuxidc.com/Linux/2013-07/87035.htm for regular expression Engines
CentOS 5.4 installation highlighted Vim editing tool http://www.linuxidc.com/Linux/2013-06/86508.htm
Vim tips: C language http://www.linuxidc.com/Linux/2012-12/77124.htm settings
Set Vim row http://www.linuxidc.com/Linux/2012-12/75485.htm in Ubuntu
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2