How does Ubuntu solve the problem that the vi editor becomes ABCD by pressing the top and bottom?
This article will explain in detail how Ubuntu solves the problem that the vi editor becomes ABCD by pressing the top and bottom. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
When editing with Ubuntu's vi, sometimes you will encounter pressing the key above and below to change to ABCD. Introduce the solution to this situation.
1, as shown in the figure, when editing / etc/profile files with vi, press the next key above and below to become ABCD in the editing state.
2. At this point, press Esc to exit the editing state, and then enter: Q! Exit file editing.
3. The reason for this problem is that there is a problem with the original vim-common component, which can be solved by uninstalling the original vim-common component and installing a new vim.
4. Use the command after quitting file editing
Sudo apt-get remove vim-common
Uninstall the previous vim-common component.
5. Use the command after the uninstall is complete
Sudo apt-get install vim
Install vim.
6. After the installation is completed, open the profile file for editing and return to normal.
On "Ubuntu how to solve the vi editor by the top and bottom of the problem into ABCD" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.