Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Pathogen

Backup VIM

mv ~/.vimrc ~/.vimrc.bak
mv ~/.vim/ ~/.vimbak/

Create new VIM directory

mkdir -p ~/.vim/autoload
mkdir -p ~/.vim/bundle
cd ~/.vim/autoload
curl > pathogen.vim

Add to your ~/.vimrc

" Pathogen
filetype off " Pathogen needs to run before plugin indent on
call pathogen#runtime_append_all_bundles()
call pathogen#helptags() " generate helptags for everything in 'runtimepath'
filetype plugin indent on

Install NERDTREE Plugin

cd ~/.vim/bundle
git clone git://

Remove NERDTREE plugin if not needed:

rm -Rf ~/.vim/bundle/nerdtree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment