Update Vimpress 已经升级到2.x版本,使用、配置都有改进,请关注在vim.org的插件页面: Vimpress had been updated to 2.x, usage and configurations are now different, read the officle page in vim.org: http://www.vim.org/scripts/script.php?script_id=3510 Hi guys, glad to know that many of you are having vimpress forked to improved it's power, while i'm also doing the same thing. I'm working on a version that had been refactored [...]
此前介绍用来编辑Wordpress的vim插件vimpress 现在加入了markdown支持,可以直接在vim中以markdown语法编写,使用新增的vimpress命令即可发布成格式清新的博客了。 还加入多博客支持。只需把需要管理的博客资料写到vimrc文件内,可以随时用BlogSwitch命令切换需要发布的博客。 还有加入编辑Wordpress的Page,不仅是Post,见BlogPageXXXX等几个命令。 另外是改进了插件在windows等平台的支持,自动转换gbk等为utf-8编码来编辑博客。 这次版本改进得到了Lenin Lee的代码贡献和测试,在此表示感谢! Markdown 介绍 Markdown 是一个很轻量的文本标记语言,其语法直接可翻译成HTML,便于用户编写和阅读,可以很方便地生成多级标题、链接、缩进、加粗、列表等等格式,实际上和通用的WikiText、reStructed等标记语言的语法都有一定的相通之处。 推荐:Markdown 语法 Vimpress的Markdown 命令 在Vim中用markdown书写好文章后,可以先使用:MarkdownPreview命令在浏览器里面看看编译效果。虽然这样的页面没有CSS修饰,但是文章的结构应该是清晰的,可重复修改。 然后使用:MarkdownNewPost命令,如果原文件中前10行有包含#符号开头的一行(即markdown语法中的header),会被复制成title,并跳转到vimpress的NewPost界面,就可以用:BlogSave publish发布了。 这个流程相当简单直接。 Vimpress的多帐号支持 该版本的博客信息要写入vimrc文件当中。通常, Linux下,该文件位于~/.vimrc; Windows下,C:\Program Files\Vim\_vimrc。 在该文件加入这样一行:(vimrc中的前置\是换行号) let VIMPRESS=[{'username':'user', \'password':'pass', \'blog_url':'http://your-first-blog.com/' \}, \{'username':'user', \'password':'pass', \'blog_url':'http://your-second-blog.com/' \}] 启动vim后vimpress默认使用了第一组的配置信息,使用:BlogSwitch命令可以在它们之间轮环切换。 下载 http://www.vim.org/scripts/script.php?script_id=3510 改进记录 2011 Mar. 24 [by Lenin Lee] Fix: use setl instead of set to set option value; Add: [...]
Update Vimpress 已经升级到2.x版本,使用、配置都有改进,请关注在vim.org的插件页面: Vimpress had been updated to 2.x, usage and configurations are now different, read the officle page in vim.org: http://www.vim.org/scripts/script.php?script_id=3510 If you noticed Vimpress before and got more than one wordpress to write, must glad now to know this VimRePressed support multiple configs and swith freely. The new VimRePressed (Version: 1.2.0) Changes: Add: [...]
Update Vimpress 已经升级到2.x版本,使用、配置都有改进,请关注在vim.org的插件页面: http://www.vim.org/scripts/script.php?script_id=3510 WordPress的客户端其实不少,从live writter到scribefire,用户都不少。但是有时候我们只需要一篇博客包含简洁的HTML,这时候这些所见所得编辑器出来的结果都不一定都让人那么满意,经常需要登录到博客后台去编辑源码。 实际上最适合的还是方法还是先用markdown/reStructed/Tex/WikiText之类的语法写成,然后编译成HTML,再发布到博客。 Vim有个vimpress插件可以直接在Vim当中编辑博客,相当适合这个任务。不过由于官方页面上的vimpress已经久无人维护已经不能用了,之前对vimpress的代码做了 一些改写重构,而且得到外国网友的关注 ,而且冠名 VimRepress ,现在正式发布一个VimRepressed的版本。 比起原版的Vimpress,VimRepress有了更友好的错误提示,带了上传图片等的功能,改善了几个命令的可用性: BlogList <count> 列表文章,可以用参数定义列出多少篇文章。默认最近30篇。 BlogNew 新文章命令,会将当前的buffer内容作为文章的内容。 BlogOpen <id> 打开文章,需要手动输入post id. BlogSave <draft|publish> 保存文章,可以保存为草稿、或者直接发布。 BlogPreview <draft|publish> 预览文章,实际和BlogSave命令相同,之后会打开浏览器窗口预览文章。但如果你是保存成草稿的,还得在浏览器登录才能看到。 BlogUpload <file> 可上传图片等文件到博客。自动添加链接代码到光标后。 BlogCode <code type> 代码片段,添加一个<pre>元素的块,对程序博客特别有用,目前默认用wp-syntax插件的高亮模式。 下载: From Google Code SVN 版本: svn co http://ptcoding.googlecode.com/svn/trunk/vimpress/ 安装: 下载以上.zip文件,解压到~/.vim目录: cd ~/.vim unzip /where/you/downlaod/vimpress-1.x.x.zip 配置: 编辑 ~/.vim/plugin/blog.vim, 查找Settings,将会找到如下的一块代码: ##################### [...]
Update Vimpress 已经升级到2.x版本,使用、配置都有改进,请关注在vim.org的插件页面: Vimpress had been updated to 2.x, usage and configurations are now different, read the officle page in vim.org: http://www.vim.org/scripts/script.php?script_id=3510 VimRepress is a broken fixed version of vimpress, a vim plugin to manage your wordpress. The name VimRepress is given by Justin Sattery described it a "A mod of a mod of a [...]
Vim has been so graceful that I like to have any text editing work done in her, especially coding and blogging. As a Firefox user, I previously use scribefire to write to my wordpress blog, actually I was working with HTML, I don't like WYSIWYG editing, which always creates dirty codes. However, scribefire is not [...]
Page optimized by WP Minify WordPress Plugin