#! /bin/bash -ux


# DO NOT RUN THIS FILE. Skip directly to last section

cd ~/.vim/bundle
git clone https://github.com/haya14busa/incsearch.vim
git clone https://github.com/tomtom/tlib_vim
git clone https://github.com/MarcWeber/vim-addon-mw-utils
git clone https://github.com/garbas/vim-snipmate
git clone https://github.com/nvie/vim-flake8
git clone https://github.com/tomtom/tcomment_vim
git clone https://github.com/tpope/vim-fugitive.git
vim -u NONE -c "helptags vim-fugitive/doc" -c q


# Directly copy vim plugins from github
cd ~/.vim/plugin
wget https://raw.githubusercontent.com/907th/vim-auto-save/master/plugin/AutoSave.vim

# LAST SECTION
Use pathogen, and then add following plugins
https://github.com/haya14busa/incsearch.vim
https://github.com/vim-scripts/vim-auto-save
https://github.com/tomtom/tcomment_vim
https://github.com/tpope/vim-surround

#! /bin/bash -ux


# DO NOT RUN THIS FILE. Skip directly to last section

cd ~/.vim/bundle
git clone https://github.com/haya14busa/incsearch.vim
git clone https://github.com/tomtom/tlib_vim
git clone https://github.com/MarcWeber/vim-addon-mw-utils
git clone https://github.com/garbas/vim-snipmate
git clone https://github.com/nvie/vim-flake8
git clone https://github.com/tomtom/tcomment_vim

# Directly copy vim plugins from github
cd ~/.vim/plugin
wget https://raw.githubusercontent.com/907th/vim-auto-save/master/plugin/AutoSave.vim

# LAST SECTION
Use pathogen, and then add following plugins
https://github.com/haya14busa/incsearch.vim
https://github.com/vim-scripts/vim-auto-save
https://github.com/tomtom/tcomment_vim

--- 
+++ 
@@ -10,6 +10,9 @@
 git clone https://github.com/garbas/vim-snipmate
 git clone https://github.com/nvie/vim-flake8
 git clone https://github.com/tomtom/tcomment_vim
+git clone https://github.com/tpope/vim-fugitive.git
+vim -u NONE -c "helptags vim-fugitive/doc" -c q
+
 
 # Directly copy vim plugins from github
 cd ~/.vim/plugin
@@ -20,3 +23,4 @@
 https://github.com/haya14busa/incsearch.vim
 https://github.com/vim-scripts/vim-auto-save
 https://github.com/tomtom/tcomment_vim
+https://github.com/tpope/vim-surround
Add vim-fugitive and vim-surround plugin
