1.创建目录

mkdir -p ~/.vim/autoload ~/.vim/bundle 

2.下载pathogen插件

wget -O ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

3.修改.vimrc配置文件

call pathogen#infect()

syntax on

filetype plugin indent on

4.安装vimerl: 

cd ~/.vim/bundle

git clone https://github.com/jimenezrick/vimerl.git