Skip to content

Instantly share code, notes, and snippets.

@geopet
Created January 26, 2015 05:07
Show Gist options
  • Save geopet/431e8bea16e8ba79843c to your computer and use it in GitHub Desktop.
Save geopet/431e8bea16e8ba79843c to your computer and use it in GitHub Desktop.
Vim Plugin Install and Update
#!/usr/bin/env bash
cd
# remove current vim directories
rm -rf ~/.vim
rm -rf ~/.vimrc
rm -rf ~/.gvimrc
# install pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# install vim configs create sym links
git clone [email protected]:geopet/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
# install plugins
cd ~/.vim/bundle
git clone [email protected]:kien/ctrlp.vim.git
git clone [email protected]:ervandew/supertab.git
git clone [email protected]:scrooloose/syntastic.git
git clone [email protected]:tpope/vim-bundler.git
git clone [email protected]:tpope/vim-commentary.git
git clone [email protected]:tpope/vim-fugitive.git
git clone [email protected]:tpope/vim-rails.git
git clone [email protected]:tpope/vim-rake.git
git clone [email protected]:tpope/vim-repeat.git
git clone [email protected]:tpope/vim-surround.git
git clone [email protected]:tpope/vim-unimpaired.git
git clone [email protected]:tpope/vim-vinegar.git
git clone [email protected]:skalnik/vim-vroom.git
git clone [email protected]:pangloss/vim-javascript.git
git clone [email protected]:tpope/vim-markdown.git
git clone [email protected]:vim-ruby/vim-ruby.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment