-
Notifications
You must be signed in to change notification settings - Fork 0
/
vim_plugins.sh
executable file
·35 lines (31 loc) · 1.01 KB
/
vim_plugins.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
#!/bin/zsh
[[ -d ~/.vim/autoload ]] || mkdir -p ~/.vim/autoload
if [ -d ~/git/vim-pathogen/.git ]; then
;
else
pushd ~/git
git clone http://github.com/tpope/vim-pathogen.git
popd
fi
if [[ -e ~/.vim/autoload/pathogen.vim ]]; then
else
ln -s ~/git/vim-pathogen/autoload/pathogen.vim ~/.vim/autoload
fi
# put the filetype off and pathogen in the .vimrc head
if [[ -d ~/.vim/bundle ]]; then
else
mkdir -p ~/.vim/bundle
pushd ~/.vim/bundle
git clone git://github.com/tpope/vim-rails.git
git clone git://github.com/tpope/vim-cucumber.git
git clone git://github.com/tpope/vim-vividchalk.git
git clone git://github.com/tpope/vim-haml.git
git clone git://github.com/tpope/vim-endwise.git
git clone git://github.com/tpope/vim-surround.git
git clone git://github.com/tpope/vim-unimpaired.git
git clone git://github.com/tpope/vim-abolish.git
git clone git://github.com/tpope/vim-repeat.git
git clone git://github.com/scrooloose/nerdtree.git
git clone git://github.com/scrooloose/nerdcommenter.git
popd
fi