sponsor Vim development Vim logo Vim Book Ad

pathogen.vim : Poor man's package manager. Easy manipulation of 'runtimepath' et al

 script karma  Rating 5962/1733, Downloaded by 80002  Comments, bugs, improvements  Vim wiki

created by
Tim Pope
script type
Manage your 'runtimepath' with ease.  In practical terms, pathogen.vim makes it super easy to install plugins and runtime files in their own private directories.

Add this to your vimrc:

    execute pathogen#infect()

Now any plugins you wish to install can be extracted to a subdirectory under ~/.vim/bundle, and they will be added to the 'runtimepath'.

Use :Helptags to run :helptags on every doc/ directory in your 'runtimepath'.

For more detailed, better formatted documentation, see the README on GitHub:

install details
Install in ~/.vim/autoload (~\vimfiles\autoload on Windows). Or copy and paste:

mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pathogen.zip 2.4 2015-12-26 7.0 Tim Pope Use $VIMBLACKLIST to temporarily disable bundles.
Allow disabling rest of vimrc by adding it to blacklist.
Expand bundle/{a,b} as bundle/a and bundle/b.
Experimental: Support "vimfiles" subdirectory.
Work around weird lockup on ancient Vim.
Restore disabling of paths ending in ~.
pathogen.zip 2.3 2014-03-21 7.0 Tim Pope Deprecation warnings.
Introduce pathogen#interpose() to replace incubate().
Fix glob issues with fish shell.
Silence all errors in :helptags.
pathogen.vim 2.2 2013-01-14 7.0 Tim Pope Accept multiple arguments to pathogen#infect().
Fix errors in deprecated methods.
pathogen.vim 2.1 2013-01-14 7.0 Tim Pope Deprecate :Vopen commands in favor of vimscript #4394.
Deprecate pathogen#infect() calls on paths without explicit globs. (Change pathogen#infect('bundle') to pathogen#infect('bundle/*')).
Introduce pathogen#incubate() to replace pathogen#runtime_append_all_bundles().
Introduce pathogen#surround() to replace pathogen#runtime_prepend_subdirectories().
Allow absolute paths in g:pathogen_disabled.
pathogen.vim 2.0 2011-08-10 7.0 Tim Pope Add pathogen#infect() as primary entry point for basic setup.
Provide :Helptags to generate all help tags.
Provide :Vedit and related commands for editing runtime files.
pathogen.vim 1.3 2011-03-10 7.0 Tim Pope Allow disabling bundles with g:pathogen_disabled.
Fix appending "after" directories on Windows.
pathogen.vim 1.2 2010-01-17 7.0 Tim Pope Add pathogen#legacyjoin() which escapes spaces for older options like 'path' and 'tags'.
Fix pathogen#join() to not escape spaces (caused problems on many Windows setups).
Add pathogen#uniq() to filter out duplicates.
Add pathogen#helptags() to generate helptags for everything in 'runtimepath'.
pathogen.vim 1.1 2008-10-24 7.0 Tim Pope Properly escape spaces in paths
pathogen.vim 1.0 2008-08-07 7.0 Tim Pope Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github