Skip to content

Instantly share code, notes, and snippets.

@denisinla
Created August 19, 2014 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denisinla/6a5124c2e95c117c187f to your computer and use it in GitHub Desktop.
Save denisinla/6a5124c2e95c117c187f to your computer and use it in GitHub Desktop.
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 https://github.com/tpope/vim-pathogen/raw/master/autoload/pathogen.vim > 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://github.com/scrooloose/nerdtree.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