【linux】Ubuntu使用vi编辑时按上下左右变成ABCD

会出现该问题的原因是原有的vim-common组件有问题,可以通过卸载原有的vim-common组件,安装新的vim来解决这个问题。

在退出文件编辑后使用命令

sudo apt-get remove vim-common

卸载原先的vim-common组件。

卸载完成后使用命令

sudo apt-get install vim

安装vim。

原文地址:https://www.cnblogs.com/cnyws/p/14028968.html