Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker1007/vim-metarw-qiita
vim-metarwを利用してQiitaを読み書きするプラグイン
https://github.com/joker1007/vim-metarw-qiita
Last synced: 2 days ago
JSON representation
vim-metarwを利用してQiitaを読み書きするプラグイン
- Host: GitHub
- URL: https://github.com/joker1007/vim-metarw-qiita
- Owner: joker1007
- Created: 2013-10-12T16:30:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-13T10:57:13.000Z (almost 11 years ago)
- Last Synced: 2024-04-15T22:38:46.090Z (7 months ago)
- Language: VimL
- Homepage:
- Size: 191 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
README
# 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
```vim
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/
```or
```
:QiitaMine
```### Update current open item
```
:write
```### Get user item list
```
:edit qiita:users/
```or
```
:QiitaUserItems
```### Get tag item list
```
:edit qiita:tags/
```or
```
:QiitaTagItems
```### Stock current open item
```
:QiitaStock
```### Delete current open item from qiita
```
:QiitaDelete
```### Open by browser
```
:QiitaBrowse
```