Skip to content

Instantly share code, notes, and snippets.

@vaibhav276
Created January 21, 2016 11:06
Show Gist options
  • Save vaibhav276/5654d95ce837b984c150 to your computer and use it in GitHub Desktop.
Save vaibhav276/5654d95ce837b984c150 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [[ ! -e ~/.vim/bundle/Vundle.vim/.git ]]
then
rm -rf ~/.vim/bundle/Vundle.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
fi
rm -f ~/.vimrc
rm -rf ~/vim_temp
git clone https://gist.github.com/vaibhav276/e655ad958b4e29647f7c ~/vim_temp
mv ~/vim_temp/vimrc ~/.vimrc
rm -rf ~/vim_temp
vim +BundleClean! +BundleInstall +qall 2&> /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment