install snipMate

# install snipMate
cd /tmp
wget http://www.vim.org/scripts/download_script.php?src_id=10801  -O vim_plugin_snipMate.zip
rm -rf vim_plugin_snipMate
unzip -d vim_plugin_snipMate vim_plugin_snipMate.zip
cp -r vim_plugin_snipMate/* ~/.vim
rm -rf vim_plugin_snipMate
rm vim_plugin_snipMate.zip

# install rails.snippet
cd /tmp
git clone git://github.com/scrooloose/snipmate-snippets.git snipmate-snippets
cd snipmate-snippets && rake deploy_local
cd ..
rm -rf snipmate-snippets

你可能感兴趣的:(snipmate)