summaryrefslogtreecommitdiffstats
path: root/install
blob: 6bef09b2cb481fceeea1d45749e4ff37b4379ddd (plain)
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
#! /bin/sh

DIR=$(readlink -f $(dirname $0))
pushd $HOME >/dev/null
ln -sf $DIR .vim
ln -sf $DIR/vimrc .vimrc
popd $HOME >/dev/null

[ ! -d $DIR/autoload ] && mkdir $DIR/autoload
curl -so $DIR/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/HEAD/autoload/pathogen.vim

PROTO=git
GIT_URLS="
    github.com/hrp/EnhancedCommentify.git
	github.com/scrooloose/nerdtree.git
	github.com/msanders/snipmate.vim.git
	github.com/vim-scripts/taglist.vim.git
	github.com/Townk/vim-autoclose.git
	github.com/tpope/vim-commentary.git
	github.com/mirell/vim-matchit.git
	github.com/tpope/vim-repeat.git
	github.com/tpope/vim-surround.git
"
[ ! -d $DIR/bundle ] && mkdir $DIR/bundle
cd $DIR/bundle
for url in $GIT_URLS; do
    git clone "$PROTO://$url"
done