{"id":13512524,"url":"https://github.com/tpope/vim-pathogen","last_synced_at":"2025-05-14T00:04:53.277Z","repository":{"id":762440,"uuid":"434430","full_name":"tpope/vim-pathogen","owner":"tpope","description":"pathogen.vim: manage your runtimepath","archived":false,"fork":false,"pushed_at":"2022-08-24T17:21:16.000Z","size":103,"stargazers_count":12142,"open_issues_count":27,"forks_count":1162,"subscribers_count":416,"default_branch":"master","last_synced_at":"2025-04-13T17:46:35.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=2332","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"vim","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpope.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":"CONTRIBUTING.markdown","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"tpope","custom":["https://www.paypal.me/vimpope"]}},"created_at":"2009-12-13T20:59:18.000Z","updated_at":"2025-04-12T19:39:07.000Z","dependencies_parsed_at":"2022-07-14T23:17:05.928Z","dependency_job_id":null,"html_url":"https://github.com/tpope/vim-pathogen","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-pathogen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-pathogen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-pathogen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpope%2Fvim-pathogen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpope","download_url":"https://codeload.github.com/tpope/vim-pathogen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043312,"owners_count":22004925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T03:01:59.169Z","updated_at":"2025-05-14T00:04:53.249Z","avatar_url":"https://github.com/tpope.png","language":"Vim Script","funding_links":["https://github.com/sponsors/tpope","https://www.paypal.me/vimpope"],"categories":["Managing plugins","Vim Script","Vim script","Plugins","others","Included Plugins","Plugin Management","Basics"],"sub_categories":["Example configuration for temporary files","Plugin Manager","Install for multiple users","[Vim](http://www.vim.org)"],"readme":"# pathogen.vim\n\nManage your `'runtimepath'` with ease.  In practical terms, pathogen.vim\nmakes it super easy to install plugins and runtime files in their own\nprivate directories.\n\n**For new users, I recommend using Vim's built-in package management\ninstead.**  `:help packages`\n\n## Installation\n\nInstall to `~/.vim/autoload/pathogen.vim`.\nOr copy and paste the following into your terminal/shell:\n\n    mkdir -p ~/.vim/autoload ~/.vim/bundle \u0026\u0026 \\\n    curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim\n\nIf you're using Windows, change all occurrences of `~/.vim` to `~\\vimfiles`.\n\n## Runtime Path Manipulation\n\nAdd this to your vimrc:\n\n    execute pathogen#infect()\n\nIf you're brand new to Vim and lacking a vimrc, `vim ~/.vimrc` and paste\nin the following super-minimal example:\n\n    execute pathogen#infect()\n    syntax on\n    filetype plugin indent on\n\nNow any plugins you wish to install can be extracted to a subdirectory\nunder `~/.vim/bundle`, and they will be added to the `'runtimepath'`.\nObserve:\n\n    cd ~/.vim/bundle \u0026\u0026 \\\n    git clone https://github.com/tpope/vim-sensible.git\n\nNow [sensible.vim](https://github.com/tpope/vim-sensible) is installed.\nIf you really want to get crazy, you could set it up as a submodule in\nwhatever repository you keep your dot files in.  I don't like to get\ncrazy.\n\nIf you don't like the directory name `bundle`, you can pass a runtime relative\nglob as an argument:\n\n    execute pathogen#infect('stuff/{}')\n\nThe `{}` indicates where the expansion should occur.\n\nYou can also pass an absolute path instead.  I keep the plugins I maintain under `~/src`, and this is how I add them:\n\n    execute pathogen#infect('bundle/{}', '~/src/vim/bundle/{}')\n\nNormally to generate documentation, Vim expects you to run `:helptags`\non each directory with documentation (e.g., `:helptags ~/.vim/doc`).\nProvided with pathogen.vim is a `:Helptags` command that does this on\nevery directory in your `'runtimepath'`.  If you really want to get\ncrazy, you could even invoke `Helptags` in your vimrc.  I don't like to\nget crazy.\n\nFinally, pathogen.vim has a rich API that can manipulate `'runtimepath'`\nand other comma-delimited path options in ways most people will never\nneed to do.  If you're one of those edge cases, look at the source.\nIt's well documented.\n\n## Native Vim Package Management\n\nVim 8 includes support for package management in a manner similar to\npathogen.vim.  If you'd like to transition to this native support,\npathogen.vim can help.  Calling `pathogen#infect()` on an older version of Vim\nwill supplement the `bundle/{}` default with `pack/{}/start/{}`, effectively\nbackporting a subset of the new native functionality.\n\n## Runtime File Editing\n\n`:Vopen`, `:Vedit`, `:Vsplit`, `:Vvsplit`, `:Vtabedit`, `:Vpedit`, and\n`:Vread` have all moved to [scriptease.vim][].\n\n[scriptease.vim]: https://github.com/tpope/vim-scriptease\n\n## FAQ\n\n\u003e Can I put pathogen.vim in a submodule like all my other plugins?\n\nSure, stick it under `~/.vim/bundle`, and prepend the following to your\nvimrc:\n\n    runtime bundle/vim-pathogen/autoload/pathogen.vim\n\nOr if your bundles are somewhere other than `~/.vim` (say, `~/src/vim`):\n\n    source ~/src/vim/bundle/vim-pathogen/autoload/pathogen.vim\n\n\u003e Will you accept these 14 pull requests adding a `.gitignore` for\n\u003e `tags` so I don't see untracked changes in my dot files repository?\n\nNo, but I'll teach you how to ignore `tags` globally:\n\n    git config --global core.excludesfile '~/.cvsignore'\n    echo tags \u003e\u003e ~/.cvsignore\n\nWhile any filename will work, I've chosen to follow the ancient\ntradition of `.cvsignore` because utilities like rsync use it, too.\nClever, huh?\n\n\u003e What about Vimballs?\n\nIf you really must use one:\n\n    :e name.vba\n    :!mkdir ~/.vim/bundle/name\n    :UseVimball ~/.vim/bundle/name\n\n\u003e Why don't my plugins load when I use Vim sessions?\n\nVim sessions default to capturing all global options, which includes the\n`'runtimepath'` that pathogen.vim manipulates.  This can cause other problems\ntoo, so I recommend turning that behavior off:\n\n    set sessionoptions-=options\n\n## Contributing\n\nIf your [commit message sucks](http://stopwritingramblingcommitmessages.com/),\nI'm not going to accept your pull request.  I've explained very politely\ndozens of times that\n[my general guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)\nare absolute rules on my own repositories, so I may lack the energy to\nexplain it to you yet another time.  And please, if I ask you to change\nsomething, `git commit --amend`.\n\nBeyond that, don't be shy about asking before patching.  What takes you\nhours might take me minutes simply because I have both domain knowledge\nand a perverse knowledge of Vim script so vast that many would consider\nit a symptom of mental illness.  On the flip side, some ideas I'll\nreject no matter how good the implementation is.  \"Send a patch\" is an\nedge case answer in my book.\n\n## Self-Promotion\n\nLike pathogen.vim?  Follow the repository on\n[GitHub](https://github.com/tpope/vim-pathogen) and vote for it on\n[vim.org](http://www.vim.org/scripts/script.php?script_id=2332).  And if\nyou're feeling especially charitable, follow [tpope](http://tpo.pe/) on\n[Twitter](http://twitter.com/tpope) and\n[GitHub](https://github.com/tpope).\n\n## License\n\nCopyright (c) Tim Pope.  Distributed under the same terms as Vim itself.\nSee `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fvim-pathogen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpope%2Fvim-pathogen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpope%2Fvim-pathogen/lists"}