https://github.com/kindlychung/vimrepress
Post to your Wordpress blog right from vim!
https://github.com/kindlychung/vimrepress
Last synced: 2 months ago
JSON representation
Post to your Wordpress blog right from vim!
- Host: GitHub
- URL: https://github.com/kindlychung/vimrepress
- Owner: kindlychung
- Created: 2014-07-21T19:47:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-24T22:41:57.000Z (almost 11 years ago)
- Last Synced: 2025-02-10T21:46:53.705Z (4 months ago)
- Language: VimL
- Size: 168 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DESCRIPTION
Vimrepress is a plugin for managing wordpress blog from Vim.
This is a modified version of [vimscript 3510](http://www.vim.org/scripts/script.php?script_id=3510)
# CHANGES
I changed a few things, which IMHO makes this addon more userful:
* Automatically set filetype of post to markdown, this makes sense because markdown is the format you are using.
* Automatically set wrap .
* Added `/usr/local/lib/python2.7/site-packages/` to `sys.path`, so fixed the "python-markdown required" error in Mac OSX 10.9
* Make sure only one window is open at any time (those who don't like cluttered windows will appreciate this one).# 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# DOCUMENTATION
More detailed about this commands, type :help vimpress while you have vimrepress installed.