-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvim.sh
More file actions
23 lines (19 loc) · 754 Bytes
/
vim.sh
File metadata and controls
23 lines (19 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# install fisa vim config
echo '==============================='
echo 'start to install dependences...'
case "$OSTYPE" in
darwin*) brew install vim git pip curl;;
linux*) sudo apt-get install vim exuberant-ctags git pip curl;;
*) echo "unknown: OS: $OSTYPE, U should install dependences by yourself" ;;
esac
sudo pip install dbgp vim-debug pep8 flake8 pyflakes isort
echo '==============================='
echo 'start to download vimrc file...'
cp ~/.vimrc /tmp/vimrc.bak
curl -O https://raw.githubusercontent.com/fisadev/fisa-vim-config/master/.vimrc
mv .vimrc ~/.vimrc
echo '==============================='
echo 'start to install vim plugins...'
vim +BundleClean +BundleInstall! +qa
sudo chown -R $USER ~/.vim/