Re: Creating a custom browser window.

2006-11-10 Thread Alan Young

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


Thank you.  I'll see what I can glean from it.

FYI, I hate blogger.com's interface so I'm writing my own in vim.
That's what I mean by blogger.
--
Alan


Re: Creating a custom browser window.

2006-11-08 Thread Alan Young
Yegappan Lakshmanan wrote:
 If you need a sample code that uses the tree control, you can use
 the attached file explorer plugin. Place this file in the ~/.vim/plugin
 directory.
 
 To open the file explorer, use the following command:
 
:FileTreeOpen [dirname]


Where do I put the treectl.vim file? I put it in .vim/plugin and tried
an autoload directory under .vim (your zip has that directory in it) but
filetree.vim won't load (I added an echo in the block that checks for
treectrl#available and go the echo on startup).


Re: Creating a custom browser window.

2006-11-08 Thread Alan Young
A.J.Mechelynck wrote:
 Did you restart Vim after you put it in ~/.vim/plugin (for Unix) or

I figured out my problem ... I've only got up to patch 110 installed.
I'll have to recompile and try again.


Creating a custom browser window.

2006-11-07 Thread Alan Young
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.


Re: vim | editing pdf files with vim

2006-10-10 Thread Alan Young
Nikolaos A. Patsopoulos wrote:
 is there a way to edit pdf files with vim? If not pdf as is, then eps or
 postscript? I tried with either format but the text kept been converted
 to sthl ike ASCII code.

Not really.  But you can use a program called pdftk that will help you
along those lines.

http://www.accesspdf.com/pdftk/


Re: vim | editing pdf files with vim

2006-10-10 Thread Alan Young
Nikolaos A. Patsopoulos wrote:
 is there a way to edit pdf files with vim? If not pdf as is, then eps or
 postscript? I tried with either format but the text kept been converted
 to sthl ike ASCII code.

Woops ... just found this by accident:

http://www.pdfhacks.com/pdftk/#vim_plugin

From the description: Vim users can also install my plug-in for easily
editing PDF code. When you open a PDF in Vim, the plug-in calls pdftk to
uncompress the page streams, so they are editable. When you save the
PDF, the plug-in uses pdftk to repair and re-compress the PDF.

Don't know how well it works.