原因:ubuntu预装的是vim tiny版本,安装vim full版本即可解决。
$ sudo apt-get remove vim-common
$ sudo apt-get install vim