Skip to content

Instantly share code, notes, and snippets.

@akishin
Created December 10, 2011 07:30
Show Gist options
  • Save akishin/1454775 to your computer and use it in GitHub Desktop.
Save akishin/1454775 to your computer and use it in GitHub Desktop.
setupvimplugin.sh
#!/bin/sh
# backup file directory
if [ ! -d $HOME/tmp ]
then
echo "create directory $HOME/tmp"
mkdir $HOME/tmp
fi
# plugin directory
if [ ! -d $HOME/.vim/bundle ]
then
echo "create directory $HOME/.vim/bundle"
mkdir -p $HOME/.vim/bundle
fi
cd $HOME
wget -q https://raw.github.com/gist/4010792/b41a4e23bc9c6abd0bf24351f8dfe9041dd06870/.vimrc.neobundle
wget -q https://gist.github.com/raw/2803248/5e2131b50e048ae9ddbf04eca90dc5c7a18b6600/.vimrc.plugins
wget -q https://gist.github.com/raw/1485067/84b89e95d44bbd0cd8052fcd116f30f90cde227a/.vimrc
wget -q https://raw.github.com/gist/2802164/4021c2d4c73c4431e79aa041263e827a7cc4275b/.gvimrc
git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
vim +NeoBundleInstall +qall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment