blogit.vim


Ⅰ. 插件描述

A script to blog on wordpress

Ⅱ. 基本信息

创建日期:  2009-04-11
使用用户:  6
Github星:  4
插件作者:  Romain Bignon

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

This script allows you to list, edit, write and publish articles on Wordpress. It uses the XML-RPC API and provides the following commands:

":Blogit ls [blog_name]"
Lists all articles in the blog
":Blogit new [blog_name]"
Opens page to write new article
":Blogit edit <id> [blog_name]"
Opens the article <id> for edition
":Blogit page <id> [blog_name]"
  Edit a blog page
":Blogit commit"
Saves the article to the blog
":Blogit push"
Publish article
":Blogit unpush"
Unpublish article
":Blogit rm <id>"
Remove an article
":Blogit tags"
  Show tags and categories list
":Blogit this"
  Create a blog post from current buffer
":Blogit preview"
  Preview current post locally
":Blogit help"
Display help

Edited articles are displayed like mails.

Website: http://symlink.me/wiki/blogit

添加新评论