Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Created August 24, 2009 04:43
Show Gist options
  • Save alvin2ye/173665 to your computer and use it in GitHub Desktop.
Save alvin2ye/173665 to your computer and use it in GitHub Desktop.
install agi-vim
#!/bin/sh
if [ -e ~/.vim ]; then
echo "WARNING: pls backup your ~/.vim and \n rm -rf .vim "
exit
fi
if [ -e ~/.vimrc ]; then
echo "WARNING: pls backup your ~/.vimrc and \n rm ~/.vimrc "
exit
fi
cd ~ && git clone git://github.com/jimjin/vimfiles.git .vim
cd ~/.vim && git submodule init
cd ~/.vim && git submodule update
echo source ~/.vim/vimrc > ~/.vimrc
echo source ~/.vim/agi-vimrc >> ~/.vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment