forked from yml/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·51 lines (43 loc) · 1.43 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash
function link_file {
source="${PWD}/$1"
target="${HOME}/${1/_/.}"
if [ -e "${target}" ]; then
mv $target $target.bak
fi
ln -sf ${source} ${target}
}
if [ "$1" = "vim" ]; then
for i in _vim*
do
link_file $i
done
else
for i in _*
do
link_file $i
done
fi
# Install rope, ropemode, ropevim globally
# sudo pip install -U rope ropemode ropevim
mkdir _vim/bundle
cd _vim/bundle
rm -rf *
git clone https://github.com/ervandew/supertab.git supertab
git clone https://github.com/MarcWeber/vim-addon-mw-utils.git vim-addon-mw-utils # required by snipmate
git clone https://github.com/tomtom/tlib_vim.git tlib # required by snipmate
git clone https://github.com/garbas/vim-snipmate.git snipmate
git clone https://github.com/fholgado/minibufexpl.vim.git
git clone https://github.com/sjl/gundo.vim.git gundo
git clone https://github.com/vim-scripts/The-NERD-tree.git nerdtree
git clone https://github.com/kien/ctrlp.vim.git ctrlp
git clone https://github.com/Raimondi/delimitMate.git delimitMate
git clone https://github.com/scrooloose/syntastic.git syntastic
git clone https://github.com/mileszs/ack.vim.git ack
# Python plugins
git clone https://github.com/mitechie/pyflakes-pathogen.git pyflakes
git clone https://github.com/vim-scripts/pep8.git pep8
git clone https://github.com/davidhalter/jedi-vim.git
# GO plugins
git clone https://github.com/fatih/vim-go.git vim-go
cd ../..