修改/etc/vim/vimrc.tiny 文件,將set compatible 設置成set nocompatible . 保存退出便可。這是由於有時候系統會默認vim兼容vi,因此使用vi的命令vim