Last active
April 13, 2016 07:05
-
-
Save tangnotes/57a0e8f1336fe46c8d78f0688e7fb5da to your computer and use it in GitHub Desktop.
Install Vim configuration
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/bash | |
wget http://lib.fwso.cn/james-vim.tar.bz2; | |
tar xjf james-vim.tar.bz2; | |
if [ -d ~/.vim ] | |
then | |
mv ~/.vim ~/_vim.old; | |
fi | |
if [ -f ~/.vimrc ] | |
then | |
mv ~/.vimrc ~/_vimrc.old; | |
fi | |
cp james-vim/_vimrc ~/.vimrc; | |
cp -r james-vim/_vim ~/.vim | |
rm -rf james-vim* | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment