Ⅰ. 插件描述
A VIM plugin for managing configurations of other plugins.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'niboan/plugconf'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'niboan/plugconf'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'niboan/plugconf'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/niboan/plugconf
Ⅳ. 文档说明
PlugConf
Keeps your .vimrc clean
PlugConf is a VIM plugin for managing configurations of other plugins. Plugin
configurations are stored in separate files, and loaded only if the plugin is
loaded.
This can come in handy if you, like me, often try out new plugins, but don't
want to mess up your .vimrc file, or if you just want to keep your .vimrc
clean from plugin specific configuration.
It's also a nice feature, if you like to have the same set of configuration
files across multiple platforms or environments, but still load a different
set of plugins. That way, you could have the same mappings handled by
different plugins, only by loading them, and without having to change the
configuration.
PlugConf doesn't load your plugins, but depends on your favorite plugin
manager to handle that. The plugin should work with the most popular plugin
managers, including:
- Pathogen
- vim-plug
- Vundle
- NeoBundle
Even though PlugConf relies on a plugin manager, it knows nothing about which
one you use, as it only looks at the modified runtimepath. because of that,
it should work with any plugin manager that installs plugins in a folder
called bundle in your vimfiles directory.
I actually use both Pathogen and vim-plug together, and PlugConf handles both
nicely.