VPS从16.04换到18.04,发现vim命令找不到了,只有vi,界面一般,方向键还不对。 重新安装vim就能解决问题: sudo apt-get remove vim-common sudo apt-get install vim