aboutsummaryrefslogtreecommitdiff
path: root/setup-script.sh
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2016-02-25 09:01:53 -0500
committerMitch Riedstra <Mitch@riedstra.us>2016-02-25 09:01:53 -0500
commit2e885acd2773579a379750d6c7ad046bea8ba314 (patch)
treecf5fcd9d2bb0d5ba9ba28b739271e370b448fa55 /setup-script.sh
downloadvim-cfg-2e885acd2773579a379750d6c7ad046bea8ba314.tar.gz
vim-cfg-2e885acd2773579a379750d6c7ad046bea8ba314.tar.xz
Initial
Diffstat (limited to 'setup-script.sh')
-rw-r--r--setup-script.sh71
1 files changed, 71 insertions, 0 deletions
diff --git a/setup-script.sh b/setup-script.sh
new file mode 100644
index 0000000..7977a15
--- /dev/null
+++ b/setup-script.sh
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+WD="$(pwd)"
+
+clone() {
+ if [ -d "$DIR" ] ; then
+ cd $DIR
+ git pull --ff-only origin master
+ elif ! [ -d "$DIR" ] ; then
+ mkdir -p "$DIR"
+ cd "$DIR"
+ git clone "$URL" .
+ fi
+ cd $WD
+}
+
+DIR="bundle/emmet-vim"
+URL="https://github.com/mattn/emmet-vim.git"
+clone
+DIR="bundle/vim-airline"
+URL="https://github.com/vim-airline/vim-airline.git"
+clone
+DIR="bundle/ctrlp.vim"
+URL="https://github.com/kien/ctrlp.vim.git"
+clone
+DIR="bundle/gundo.vim"
+URL="https://github.com/sjl/gundo.vim.git"
+clone
+DIR="bundle/tagbar"
+URL="git://github.com/majutsushi/tagbar"
+clone
+DIR="bundle/ag.vim"
+URL="https://github.com/rking/ag.vim.git"
+clone
+DIR="bundle/vim-distinguished"
+URL="https://github.com/Lokaltog/vim-distinguished.git"
+clone
+DIR="bundle/vim-go"
+URL="https://github.com/fatih/vim-go.git"
+clone
+DIR="bundle/php.vim"
+URL="https://github.com/StanAngeloff/php.vim.git"
+clone
+DIR="bundle/nginx-vim-syntax"
+URL="https://git.riedstra.us/mitch/nginx-vim-syntax.git"
+clone
+DIR="bundle/vim-autocomplpop"
+URL="https://git.riedstra.us/mitch/vim-autocomplpop.git"
+clone
+DIR="bundle/vim-l9"
+URL="https://git.riedstra.us/mitch/vim-l9.git"
+clone
+DIR="bundle/nerdtree"
+URL="https://github.com/scrooloose/nerdtree.git"
+clone
+DIR="themes/vim-256noir"
+URL="https://git.riedstra.us/mitch/vim-256noir.git"
+clone
+DIR="themes/vim-colors-penultimate"
+URL="https://github.com/ivan-cukic/vim-colors-penultimate"
+clone
+DIR="themes/alduin"
+URL="https://git.riedstra.us/mitch/Alduin.git"
+clone
+DIR="themes/oceanic-next"
+URL="https://github.com/mhartington/oceanic-next"
+clone
+# DIR="."
+# URL="git@git.riedstra.us:mitch/vim-cfg.git"
+# clone
+