6-10 14,218
习惯使用vim操作之后,写什么都想使用vim来完成。在写博客的时候,每次都要登录到wp后台进行操作,加上一直都没有使用可视化功能,比较麻烦,所以就找到了vimpress这个插件。我用的这个是增强版的,目前支持的功能包括:
- 获取文章列表,可指定数量,默认返回最近10篇:BlogList (count)
- 编辑已有文章:BlogOpen id
- 新建文章:BlogNew
- 删除文章:BlogDel id
- 获取分类列表:BlogCate
- 保存到草稿:BlogSave
- 发布文章:BlogSend
这些功能已经足够满足我的需求了,下载地址:http://download.csdn.net/detail/zhoujianghai/4364514
操作过程如下:
(1)创建文章
vim命令模式输入:BlogNew
此时会生成指定格式的文件,包含Meta和Content两部分。
Meta部分如下:
StrID:文章id,此处不用填
Title:文章标题
Cats:文章类别
Tags:标签
Content就是你文章的内容部分了。
(2)保存草稿:BlogSave
(3)发布:BlogSend
(4)读取文章列表:BlogList 5,返回最近5篇文章id和标题
(5)修改指定文章:BlogOpen id或者把光标移到要编辑的文章然后回车
(6)删除文章:BlogDel id:
在写博客的过程中,经常需要写html,这里推荐一款html编辑神器zencoding
可以看看使用windows live writer远程写博客方法:http://i8fun.com/blog/all/wordpress/598/
看完后,还是不太清楚怎么用,还要去度娘一下。。
截个图出来更方便读者些。
命令行下操作吗?
打开vim后,输入这些命令即可。
Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.
Hmm it looks like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything. Do you have any helpful hints for first-time blog writers? I’d genuinely appreciate it.