只要依次执行以下两个命令即可完美解决Ubuntu下vi编辑器方向键变字母的问题。 1、执行命令 sudo apt-get remove vim-common 2、执行命令 sudo apt-get install vim