Created
February 24, 2014 15:33
-
-
Save geopet/9190532 to your computer and use it in GitHub Desktop.
Vim config script: Allows for a complete reinstall of my dot vim files. This script *will* delete whatever was in your .vim, .vimrc and your .gvimrc. So please back those files up as needed before running this script!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd | |
rm -rf ~/.vim | |
rm -rf ~/.vimrc | |
rm -rf ~/.gvimrc | |
git clone [email protected]:geopet/dotvim.git ~/.vim | |
ln -s ~/.vim/vimrc ~/.vimrc | |
ln -s ~/.vim/gvimrc ~/.gvimrc | |
cd ~/.vim | |
mkdir -p tmp/swap | |
git submodule update --init | |
git submodule foreach git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment