dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit d627ccc772861be04a3022d127bc542c75b81cf1
parent 39c88c5bbb776910d99bc9891bf3e446f94c9585
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Thu, 11 Jan 2018 07:00:54 -0500

Vim: Add get_plugins script

Diffstat:
A.vim/pack/get_plugins | 42++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+), 0 deletions(-)

diff --git a/.vim/pack/get_plugins b/.vim/pack/get_plugins @@ -0,0 +1,42 @@ +#!/bin/sh +__clone() +{ + echo "Cloning $1" + git clone https://github.com/$1 > /dev/null 2>&1 +} + +if [ -d bundle/start -o -d bundle/opt ] +then + echo "bundle/start or bundle/opt already exists. Aborting." > 2 + exit 1 +fi + +# Plugins that should always be enabled +mkdir -p bundle/start +cd bundle/start +__clone romainl/Apprentice +__clone tpope/vim-commentary +__clone tpope/vim-eunuch +__clone tpope/vim-fugitive +__clone tpope/vim-obsession +__clone tpope/vim-scriptease +__clone tpope/vim-surround +__clone tpope/vim-unimpaired +__clone tpope/vim-vinegar +__clone Raimondi/delimitMate +__clone junegunn/goyo.vim +__clone junegunn/limelight.vim +__clone ajh17/VimCompletesMe +__clone skammer/vim-css-color +__clone ludovicchabant/vim-gutentags +__clone beloglazov/vim-online-thesaurus +__clone jszakmeister/vim-togglecursor +cd - > /dev/null 2>&1 + +# Plugins used optionally +mkdir -p bundle/opt +cd bundle/opt +__clone jpalardy/vim-slime +cd - > /dev/null 2>&1 + +unset __clone