After Ubuntu is installed, the direction keys in vi are displayed with letters. First, you can see from the Internet that someone else said that you can use the latest version, but I can't do it after installation. Later, I finally found the cause at $ HOME /. in the vimrc file, you need to add the following sentence: setnocompatible seems to be more and more highlighted when I just installed it, and accidentally set it to compatible. In addition, Ubuntu does not provide basic library functions, and apt-getinstall is also used.
After Ubuntu is installed, the direction keys in vi are displayed with letters.
First, you can see from the Internet that someone else said that you can use the latest version, but I can't do it after installation.
Later, I found the cause. In the $ HOME/. vimrc file, I want to add the following sentence:
Set nocompatible
It seems that when I first installed it, fine-tuned and highlighted, and accidentally set it to compatible.
In addition, basic library functions are not installed in Ubuntu, and corresponding software packages are installed with apt-get install build-essential.
However, despite these inconveniences, the debian system architecture is indeed more rigorous than the rpm system, and there is no annoying rpm dependency problem, which is quite good.