VimRepress : Plugin for managing wordpress blog from Vim.
| script karma
Downloaded by 1960
Comments, bugs, improvements
script versions (upload new version)
|VimRepress is a plugin for managing wordpress blog from Vim, a rewritten of vimscript #1953 , which is broken for years.
Now VimRepress lives with more powerful again.
- Vim 7.3+ with python 2.6/2.7 support
- Python Environment matched wtih Vim's support
- python-markdown/python-markdown2 installed
- wordpress 3.0.0 +
Some commands list above contain special usage, example below may clearify them for you.
:BlogList - List 30 recent posts.
:BlogList page - List 30 recent pages.
:BlogList post 100 - List 100 recent posts.
:BlogNew post - Write an new post.
:BlogNew page - Write an new page.
:BlogSave - Save (defautely published.)
:BlogSave draft - Save as draft.
:BlogPreview local - Preview page/post locally in your browser.
:BlogPreview publish - Same as `:BlogSave publish' with brower opened.
More detailed about this commands, type :help vimpress while you have vimrepress installed.
Developing Repository: https://bitbucket.org/pentie/vimrepress
Download vimpress_x.x.x.zip, extract it in your .vim directory:
Create file ~/.vimpressrc in the following format:
blog_url = http://a-blog.com/
username = admin
password = 123456
blog_url = https://someone.wordpress.com/
username = someone
Hardcoding the password is optional. If a password is not provided the plugin will prompt for one the first time it's needed.
For Upgraded Users
Defining Account info in .vimrc is now obsolesced, if you have correspond defination in .vimrc (for older version vimpress), they will automaticly copied into ~/.vimpressrc, now you're safe to remove the VIMPRESS defination in .vimrc.
If you need Markdown support, simply run `sudo apt-get install python-markdown' in Ubuntu.
If you use other distributions (or OSs), refer to your package manager or the python-markdown
project page: http://www.freewisdom.org/projects/python-markdown/Installation
Click on the package to download.
ip used for rating: 184.108.40.206