On 11/7/06, Alan Young <[EMAIL PROTECTED]> wrote:
>
> Please forgive me if I use the incorrect terms ... I've been using vim
> for years, but am just now getting into more than just the editing part.
>
> I am writing a vim plugin using perl's Net::Blogger so I can make my
> blogs entries from vim.  What I'd like to do, if possible, is create a
> window that lists the blogs and entries in a window like the one created
> when you try to edit a directory.  You can move the cursor up and down
> but you can't modify the contents of the buffer.  When you press enter
> on an entry it either displays the directory or edits the file.
>
> So, something like this initially:
>
> Blog1
> Blog2
>
> When you press enter on Blog1 you'll get:
>
> Blog1
>   Article1
>   Article2
> Blog2
>
> When you press enter on Article1 you'll get a buffer with the contents
> of Article1 to modify and repost.
>
> I've gotten the perl/vim interaction down I think, and I program in perl
> professionally--this isn't my problem.  I have no idea as to how to go
> about doing the above.  Any pointers?
>
> With VIm7 I think I can use the Lists and/or Dictionaries data types
> (they seem to be the same as perls array/list and hash types) but I'm
> just clueless on how to get the data into the buffer I described, or
> even how to create that buffer.
>

No idea what a "Blogger" entails, but since you mention perl, vim and the net, 
take a look at:
http://www.vim.org/scripts/script.php?script_id=1053

--Suresh

Reply via email to