summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-26 09:17:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-26 09:17:08 +0200
commitc80b8e68168a64b6df156a768f984be73556a60c (patch)
tree4813c2f2306dda3dac759d1c9346b677301e9931 /install
parentd1a712850a1a4b7da23e3c06cb1e7f1b00140d9b (diff)
downloadvim-c80b8e68168a64b6df156a768f984be73556a60c.zip
vim-c80b8e68168a64b6df156a768f984be73556a60c.tar.gz
install swallows pathogen.vim and git_urls
Diffstat (limited to 'install')
-rwxr-xr-xinstall21
1 files changed, 21 insertions, 0 deletions
diff --git a/install b/install
index 29ae5f6..6bef09b 100755
--- a/install
+++ b/install
@@ -5,3 +5,24 @@ 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