例如按i无法进入插入模式。这是因为ubuntu默认vim是兼容vi的 修改/etc/vim/vimrc.tiny 文件,将set compatible 设置成set nocompatible 保存退出即可。