vim-metarw-github-issues


Ⅰ. 插件描述

vim-metarwを利用してgithub-issueを読み書きするプラグイン

Ⅱ. 基本信息

创建日期:  2013-10-17
使用用户:  2
Github星:  1
插件作者:  Tomohiro Hashidate

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-metarw-github-issue

vim-metarwを利用してgithub-issueを読み書きするプラグイン

Requirements

  • vim-metarw
  • webapi-vim
  • curl

Format

1行目がタイトル
2行目がラベル

4行目以降が本文のmarkdown

Usage

Write vimrc

let g:github_user='joker1007'
let g:github_token='xxxxxx' " API経由で取得しておく

" Optional
let g:github_per_page=50 " Max 100

Post current buffer as new item

:write issues:repos/:owner/:repo

Caution: Not modify comment separator, otherwise post issue body with comments

Open a issue

:edit issues:repos/:owner/:repo/issues/:number

Update current open issue

:write

Caution: Not modify comment separator, otherwise post issue body with comments

Post new comment to current open issue

Open comment buffer

:IssueCommentPost

and save

:write

Caution: Existing issue buffer is not refreshed. Refresh Manually.

Get issues for repository

:edit issues:repos/:owner/:repo

Get issues for organization

:edit issues:orgs/:org?filter=all

Open by browser

:IssueBrowse

添加新评论