Use the custom resources provided by this cookbook to install pathogen, a plugin manager for vim, as well as any plugins that you specify.
This cookbook expects vim
and git
to be available but does not provide resources or recipes for installing them.
N/A
The pathogen_base
resource manages the basic installation of pathogen
.
users
- A list of users for whompathogen
should be installed. Required.
pathogen_base 'install pathogen!' do
users ['root', 'vagrant']
end
Installs plugins that can be found on GitHub. The "name property" of the resource is the name of the plugin.
github_org
- The name of the GitHub organization or user that houses the repo.users
- A list of users for whompathogen
should be installed. Required.
pathogen_plugin 'ctrlp.vim' do
github_org 'ctrlpvim'
users ['root', 'vagrant']
end
-
Add
depends 'pathogen'
to yourmetadata.rb
. -
Go buck wild with the above two resources in your recipe of choice.
Please open an issue if you find a bug. Pull requests are also welcome. When submitting pull requests, please try to abide by the following guidelines:
- Keep changes as small as possible
- Rebase and squash extraneous commits whenever possible
- Use detailed commit messages
- Don't modify version information