vim-githublink


Ⅰ. 插件描述

Display the github.com URL of the current line

Ⅱ. 基本信息

创建日期:  2012-09-13
使用用户:  4
Github星:  1
插件作者:  Jon Tai

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# githublink.vim

This vim plugin allows you to type \ g in command mode to display the github.com URL of the current line.

If pbcopy is available, the URL will also be copied to the clipboard.

Installation

Option 1: Manual installation

  1. Clone the repository.

        $ git clone https://github.com/jtai/vim-githublink.git
    
  2. Move githublink.vim to your .vim/plugins directory.

        $ cd vim-githublink/plugins
        $ mv githublink.vim ~/.vim/plugins/
    

Option 2: Pathogen installation (recommended)

  1. Download and install Tim Pope's Pathogen.
  2. Clone the repository in the pathogen plugins directory.

        $ cd ~/.vim/bundle
        $ git clone https://github.com/jtai/vim-githublink.git

添加新评论