ubuntu下 vi输入方向键会变成ABCD 先卸载vim-tiny: $ sudo apt-get remove vim-common 再安装vim full: $ sudo apt-get install vim