修改/etc/vim/vimrc.tiny 文件,将set compatible 设置成set nocompatible . 保存退出便可。这是由于有时候系统会默认vim兼容vi,因此使用vi的命令vim