DrupaVim


Posted by acrollet

This is a plugin for Vim that allows one to create and post Drupal content directly from Vim. I originally got the idea from a post on yyhh.org. Since then, feature creep has taken hold, and what was once a few lines is now over 10kb of code! DrupaVim is capable of posting, editing and deleting content, uploading files/images, opening posts in your browser, and more.

It looks a little like this:

AttachmentSize
drupavim.zip - svn revision 95.04 KB

Comments

Maybe you should name it DrupalVim or something like that so it is more discoverable by searches. I'm assuming this uses XML-RPC?


It's on the front page of google for drupal + vim, so I'm not too too worried about searching, but I'm always open to suggestions for cool names :)

It does indeed use xml-rpc...


can you reupload it?

the file seems to be away.


anyway, I fixed it...


It's unfortunately not working. When I start up vim i get the following:
Error detected while processing /home/martin/.vim/plugin/drupavim.vim:
line 331:
E174: Command already exists: add ! to replace it
line 332:
E174: Command already exists: add ! to replace it
line 333:
E174: Command already exists: add ! to replace it
line 334:
E174: Command already exists: add ! to replace it
line 335:
E174: Command already exists: add ! to replace it

Trying ListPosts I get:
I was unable to retrieve posts! Perhaps the username or password is incorrect?
although I am sure they are right...


Hi Martin,

sorry you're having trouble - that error message means that it's trying to re-define the same command - do you have two copies of the script under your .vim directory, or something like that?