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

It's unfortunately not

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

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?


Very cool.

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


thanks!

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

can you reupload it?

the file seems to be away.


how strange

anyway, I fixed it...