open_plugin_page


Ⅰ. 插件描述

A Vim plugin for quick opening plugin's page on Github

Ⅱ. 基本信息

创建日期:  2014-10-03
使用用户:  4
Github星:  2
插件作者:  Vadym Khokhlov

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Open plugin page

This plugin allows you to quick open plugin page on github by pressing only two keys.
It is useful for exploring of examples of vimrc files. At this moment only
vundle-format of plugin specification is supported.

Use

Put cursor on the line with plugin name, i.e. on the line like:

Plugin 'xvadim/open_plugin_page'

and press <Leader>o (in the normal mode). The Github-page of plugin will be
opened in your default web-browser.

Configuration

You can change the manual-invocation mapping by adding this to your .vimrc:

map <Leader>foo <Plug>OpenPluginPage

where <Leader>foo is the mapping you want.

You can change the command for browser opening:

leg g:g:opp_open_command = "open"

Installation

Copy the contents of archive into ~/.vim or use Vundle:

Plugin 'xvadim/open_plugin_page'

添加新评论