Skip to content

Instantly share code, notes, and snippets.

@tangnotes
Last active April 13, 2016 07:05
Show Gist options
  • Save tangnotes/57a0e8f1336fe46c8d78f0688e7fb5da to your computer and use it in GitHub Desktop.
Save tangnotes/57a0e8f1336fe46c8d78f0688e7fb5da to your computer and use it in GitHub Desktop.
Install Vim configuration
#!/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