Skip to content

Instantly share code, notes, and snippets.

@Integralist
Last active August 29, 2015 13:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/10008871 to your computer and use it in GitHub Desktop.
Save Integralist/10008871 to your computer and use it in GitHub Desktop.
For up to date list of plugins please see my Fresh Install repository: https://github.com/Integralist/Fresh-Install/
cd "$HOME/.vim/bundle"
plugins=( airblade/vim-gitgutter \
ap/vim-css-color \
bling/vim-airline \
edkolev/tmuxline.vim \
ervandew/supertab \
gcmt/wildfire.vim \
godlygeek/tabular \
kien/ctrlp.vim \
kien/rainbow_parentheses.vim \
MattesGroeger/vim-bookmarks \
mattn/emmet-vim \
mattn/webapi-vim \
mileszs/ack.vim \
othree/html5.vim \
scrooloose/nerdtree \
scrooloose/syntastic \
sheerun/vim-polyglot \
t9md/vim-choosewin \
tpope/vim-commentary \
tpope/vim-cucumber \
tpope/vim-dispatch \
tpope/vim-endwise \
tpope/vim-fugitive \
tpope/vim-haml \
tpope/vim-markdown \
tpope/vim-repeat \
tpope/vim-surround \
vim-scripts/camelcasemotion \
vim-scripts/Gist.vim \
vim-scripts/paredit.vim \
vim-scripts/Tabmerge \
vim-scripts/textutil.vim \
vim-scripts/ZoomWin \
wellle/targets.vim )
for item in "${plugins[@]}"
do
git clone "https://github.com/$item.git"
done
@Integralist
Copy link
Author

Note: You can make the above script a bit more defensive by first checking if the directory exists or not...

DIR="$HOME/.vim/bundle"

if cd $DIR 2>/dev/null; then
  mkdir -p $DIR
fi

cd $DIR

plugins=( list_of_plugins )

for item in "${plugins[@]}"
do
  git clone "https://github.com/$item.git"
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment