Skip to content

Instantly share code, notes, and snippets.

@aliou
Last active December 15, 2015 19:09
Show Gist options
  • Save aliou/5309124 to your computer and use it in GitHub Desktop.
Save aliou/5309124 to your computer and use it in GitHub Desktop.
# curl -fsSL https://raw.github.com/gist/5309124 | sh
echo "Renaming current vim files."
mv ~/.vim ~/.vim-bkp 2>/dev/null
mv ~/.vimrc ~/.vimrc-bkp 2>/dev/null
mv ~/.gvimrc ~/.gvimrc-bkp 2>/dev/null
mv ~/.dotvim ~/.dotvim-bkp 2>/dev/null
echo "Downloading files. (The part where you ask Aliou to come)"
git clone https://github.com/aliou/dotvim.git ~/.dotvim
echo "Making links."
ln -s ~/.dotvim/vim ~/.vim
ln -s ~/.dotvim/vimrc ~/.vimrc
ln -s ~/.dotvim/gvimrc ~/.gvimrc
cd ~/.dotvim
echo "Installing Vundle."
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim +BundleInstall +qall
echo "color molokai" >> ~/.vimrc.local
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment