-
-
Save alvin2ye/173665 to your computer and use it in GitHub Desktop.
install agi-vim
This file contains hidden or 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
#!/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