Install github nerdcommenter
Open command line (for pathogen)
type
cd ~/.vim/bundle/
git clone https://github.com/scrooloose/nerdcommenter.git
To test it out try some files like python, C, or HTML
I'm using Foundations for Emails 2 as a demo html
in Vim normal mode type "\cc" to comment out a line
If you scroll down at the nerdcommenter's github page you will see a "leader". It means
For Pathogen:
Before you run help for nerdcommenter, be sure to type in ":Helptags" to load documentation globally or else you're going to get the "Sorry, no help for
Resources:
Stackoverflow - What is a Leader in a vimrc file?
Learn Vim The Hard Way - Vim Leaders
How to use Tim Pope's Pathogen - :Helptags