VxLib


Ⅰ. 插件描述

Some utility functions packed in a library

Ⅱ. 基本信息

创建日期:  2010-04-16
使用用户:  2
Github星:  1
插件作者:  Marko Mahnič

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Script: vxlib

Initially developed for vimuiex (vimscript#2606)
Used by manuals (vimscript#3060)

Contains a Vim Plugin Generator that parses files in autoload directories and creates
plugin initialization code for the plugin directory - a single file for all plugins.
It searches for specially marked sections in vim files (see vimuiex, manuals).

See http://vimuiex.sourceforge.net/vimdoc/vxlib_plugin.html for details.

The command :VxRegen will start the plugin generator, create the plugin
initialization code and update the plugin configuration file (plugins/vxplugin.conf).  
:VxRegen will execute a Python script using an existing Python installation, so
Python must be in your system PATH.

The configuration file can be edited with :VxConfig. It is a simple win-ini-type

  1. Currently it is only possible to include/exclude the plugins from the
    1. To exclude a plugin, put 'generate=0' in the appropriate
  2. By default initialization code for all found plugins is generated.

Generated plugins can also be disabled from .vimrc. Each plugin processed by the
plugin generator has a unique ID. When the plugins are loaded, this ID is used to
check if the plugin should be loaded or not. To disable a plugin with
id='vimuiex#textmenu', add 'let g:vxenabled_vimuiex_textmenu=0' to .vimrc.

Included in the library is the QuickFixPreview plugin that adds mappings
to preview the line that is selected in the QuickFix window.
http://vimuiex.sourceforge.net/vimdoc/vxlib_plugins.html#vxlib-quickfixpreview

Related scripts: genutils(vimscript#197), lh-vim-lib(vimscript#214),
tlib(vimscript#1863), vim-addon-manager(vimscript#2905),
tplugin(vimscript#2917),

添加新评论