VimRepress : Plugin for managing wordpress blog from Vim.
script karma |
Rating 70/31,
Downloaded by 5907 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Preston Masion |
|
script type |
utility |
|
description |
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.
*REQUIREMENT*
- 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 +
COMMAND EXAMPLES
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.
:BlogOpen 679
:BlogOpen http://your-first-blog.com/archives/679
:BlogOpen http://your-second-blog.com/?p=679
:BlogOpen http://your-third-blog.com/with-your-custom-permalink
More detailed about this commands, type :help vimpress while you have vimrepress installed.
Developing Repository: https://bitbucket.org/pentie/vimrepress |
|
install details |
*INSTALL*
Download vimpress_x.x.x.zip, extract it in your .vim directory:
cd ~/.vim
unzip /path/to/vimpress_x.x.x.zip
CONFIGURE
Create file ~/.vimpressrc in the following format:
[Blog0]
blog_url = http://a-blog.com/
username = admin
password = 123456
[BlogWhatEver]
blog_url = https://someone.wordpress.com/
username = someone
password =
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
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.22.42.14
|