helper.vim


Ⅰ. 插件描述

Help text renderer. provide togglable help text in vim buffer.

Ⅱ. 基本信息

创建日期:  2010-02-24
使用用户:  13
Github星:  1
插件作者:  Yo-An Lin

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Helper.vim

Help text renderer. provide togglable help text in vim buffer.

Example

Just call Helper register function after creating a new buffer:

:vnew
:cal g:Help.reg("Git Menu",join([
    \" <Enter> - execute item",
    \" o       - open node",
    \" O       - open node recursively",
    \],"\n"),1)

You can also add some syntax highlighting:

" Initialize Help Syntax
syntax match HelpComment +^#.*+
syntax match String      +".\{-}"+
hi HelpComment ctermfg=blue
hi String      ctermfg=red

添加新评论