I'll assume you are on Linux or Mac OSX. For Windows, replace ~/.vim/ with $HOME/vimfiles/.
If they don't exist already, create these two directories:
~/.vim/autoload/
~/.vim/bundle/
Save https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim to
~/.vim/autoload/pathogen.vim
Put these lines at the top of your vimrc:
execute pathogen#infect()
execute pathogen#helptags()
filetype plugin indent on
syntax on
The two last lines have nothing to do with pathogen but, if you have them in your ~/.vimrc, be sure to put them after the pathogen lines. If you don't have those lines, well… add them! What good is Vim without syntax highlighting and filetype detection?
We are going to install delimitMate. Once it is installed in ~/.vim/bundle/, you should get:
~/.vim/bundle/delimitMate-master/autoload/...
~/.vim/bundle/delimitMate-master/doc/...
~/.vim/bundle/delimitMate-master/plugin/...
~/.vim/bundle/delimitMate-master/...
Unzip delimitMate-master.zip in ~/.vim/bundle/delimitMate-master/.
$ cd ~/.vim/bundle
$ git clone https://github.com/Raimondi/delimitMate.git
$ cd ~/.vim
$ git submodule init
$ git submodule add htps://github.com/Raimondi/delimitMate.git bundle/delimitMate
Same as installation process.
$ cd ~/.vim/bundle/delimitMate-master
$ git pull
Simply remove its directory from ~/.vim/bundle.
$ cd ~/.vim
$ git submodule deinit -f bundle/delimitMate
$ git rm -rf bundle/delimitMate