forked from bogdangi/env
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.sh
executable file
·81 lines (68 loc) · 1.58 KB
/
setup.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
setup_dir=$PWD
# Install pathogen
mkdir -p $setup_dir/autoload $setup_dir/bundle; \
curl -o $setup_dir/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
# Update all vim's bandels
cd $setup_dir/bundle
for bundle in `ls`
do
cd $bundle
echo Update $bundle
git pull
cd ..
done
cd $setup_dir
# Setup fugitive
cd $setup_dir/bundle
if ! [ -d "vim-fugitive" ]
then
git clone git://github.com/tpope/vim-fugitive.git
fi
cd $setup_dir
# Setup snipmate
cd $setup_dir/bundle
if ! [ -d "snipmate" ]
then
git clone git://github.com/msanders/snipmate.vim.git snipmate
fi
cd $setup_dir
# Setup VCScommand (git, svn, cvs)
cd $setup_dir/bundle
if ! [ -d "vcscommand" ]
then
git clone git://github.com/vim-scripts/vcscommand.vim.git vcscommand
fi
cd $setup_dir
# SOLARIZED COLORSCHEME FOR VIM
cd $setup_dir/bundle
if ! [ -d "vim-colors-solarized" ]
then
git clone git://github.com/altercation/vim-colors-solarized.git vim-colors-solarized
fi
# setup ctrlp
cd $setup_dir/bundle
if ! [ -d "vim-ctrlp" ]
then
git clone https://github.com/kien/ctrlp.vim.git vim-ctrlp
fi
# setup nerdtree
cd $setup_dir/bundle
if ! [ -d "vim-nerdtree" ]
then
git clone https://github.com/scrooloose/nerdtree vim-nerdtree
fi
# setup nerdtree-tabs
cd $setup_dir/bundle
if ! [ -d "vim-nerdtree-tabs" ]
then
git clone https://github.com/jistr/vim-nerdtree-tabs.git vim-nerdtree-tabs
fi
# setup vim-screen
cd $setup_dir/bundle
if ! [ -d "vim-screen" ]
then
git clone https://github.com/ervandew/screen.git vim-screen
fi
# Set vimrc
ln -sf $setup_dir/vimrc $HOME/.vimrc