cookbook 'pathogen', '= 0.3.2'
pathogen (11) Versions 0.3.2 Follow1
Installs/Configures pathogen vim plugin manager
cookbook 'pathogen', '= 0.3.2', :supermarket
knife supermarket install pathogen
knife supermarket download pathogen
pathogen Cookbook
Use this cookbook to install the Pathogen vim plugin manager.
Platforms
This cookbook has been tested with the following platforms:
- Ubuntu 14.04
- Centos 7.2
Prerequisites
The focus of this cookbook is on installing Pathogen and plugins, so it doesn't provide sophisticated recipes for git
and vim
itself, for which excellent and detailed cookbooks are already available. With that said, you can include barebones package-based recipes from within this cookbook if you don't need anything special:
include_recipe 'pathogen[git]' include_recipe 'pathogen[vim]'
Attributes
-
node['pathogen']['install_path']
- Specify the directory where pathogen should be installed. Defaults to'/root/.vim
. -
node['pathogen']['vimrc_path']
- Specify the location of your user's.vimrc
file. Defaults to'/root/.vimrc'
.
Resources
-
pathogen_plugin
- This resource wrapsgit
and can be used to install plugins tonode['pathogen']['install_path']/bundle
. To use it, pass the name of the plugin as thename
attribute and the GitHub user/organization as thegithub_org
attribute:pathogen_plugin 'ctrlp.vim' do github_org 'ctrlpvim' end
Usage
To install Pathogen, add recipe[pathogen]
to your run list or include the default recipe in recipe that is in your run list. If you aren't using some other source to install git
and vim
, add those recipes before the default pathogen recipe.
To install plugins, use the above-mentioned pathogen_plugin
LWRP in a recipe that is in your run list.
Contributing
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
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.3.2 passed this metric
0.3.2 failed this metric
0.3.2 passed this metric