vim-metarw-qiita


Ⅰ. 插件描述

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

Ⅱ. 基本信息

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

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-metarw-qiita

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

Requirements

  • vim-metarw
  • webapi-vim
  • curl

Format

1行目がタイトル
2行目がタグ

4行目以降が本文のmarkdown

タグの書式

スペースでタグを区切る。
タグ名に続けて:を挟んでバージョン番号を書く

Vim:6.4 Ruby:2.0.0-p247 Ruby:1.9.3

Usage

Write vimrc

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

" Optional
let g:qiita_per_page=50 " Max 100

Post current buffer as new item

:write qiita:

Get my item list

:edit qiita:users/<my_username>

or

:QiitaMine

Update current open item

:write

Get user item list

:edit qiita:users/<username>

or

:QiitaUserItems <username>

Get tag item list

:edit qiita:tags/<tagname>

or

:QiitaTagItems <tagname>

Stock current open item

:QiitaStock

Delete current open item from qiita

:QiitaDelete

Open by browser

:QiitaBrowse

添加新评论