enabler_vim


Ⅰ. 插件描述

Obsolete repo: Load plugins/bundles

Ⅱ. 基本信息

创建日期:  2015-01-13
使用用户:  1
Github星:  12
插件作者:  Tom Link

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tomtom/enabler-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tomtom/enabler-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tomtom/enabler-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tomtom/enabler_vim

Ⅳ. 文档说明

The Enabler plugin loads plugins/bundles (similar to pathogen) on demand as
requested by the user. It's main goal is to manage your 'runtimepath' as

  1. It thus allows users to have tons of vim plugins/bundles at their
  2. tips without slowing down startup time.

Enabler supports the following types of bundles:

1. Bundles (see |g:enabler#dirs|) are enabled on explicit demand via 
   |:Enable|.

2. After invoking |:Autoenabler|, autobundles (see |g:enabler#auto#dirs|, 
   which defaults to |g:enabler#dirs|) are also enabled implicitly when:

    - setting a filetype (see |:Enablefiletype|)
    - editing a file matching a |regexp| (see |:Enablefilepattern|)
    - calling an unknown function (see |:Enableautoload|)
    - invoking a map (see |:Enablemap|)
    - calling a command (see |:Enablecommand|)

3. Filetype bundles (see |g:enabler#ftbundle_dirs|) are enabled when 
   opening a file with a given filetype for the first time.

Enabler can also scan available plugins/bundles and generate stub commands and
maps for you (see |:Enablegenerate|). These autoenabler definitions can be
loaded via |:Autoenabler|.

The doc files of installed plugins/bundles can be made available via
|:Enablehelptags|.

Most vim plugin managers try to do at least two things: manage your
'runtimepath' and manage (install, update, remove) plugins. The Enabler plugin
focuses on the first task, i.e., managing the 'runtimepath' variable and
enabling plugins as needed. The Enabler plugin doesn't provide a way to
download / install / update / remove / build these plugins. Users should use
one of the other vim plugin managers available, shell scripts or whatever.

Enabler is the successor of the tplugin plugin.


Status: Experimental
Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.

添加新评论