Bug#389332: Vim K command should work with Perl scripts

Stefano Zacchiroli zack at debian.org
Mon Sep 25 08:31:25 UTC 2006


tags 389332 + pending help
thanks

On Mon, Sep 25, 2006 at 12:39:26AM -0400, Jason Spiro wrote:
> It would be great if, for Perl programs, the letter K started perldoc
> instead of man. And I don't know if Python or Ruby come with an
> equivalent of perldoc, but it would be great if the K command worked
> for them too.

I've just committed a patch in the vim package implementing the support
you request for ruby files (using 'ri') and perl files (using
'perldoc'). In fact I had the support for perl files in my ~/.vim since
ages, I've simply never thought about letting my support in the vim
package :-), thanks for suggesting the idea!

I quickly tried to mock up something for python, but I haven't a working
solution yet (that's why I'm tagging +help this bug report). The idea
for python would be to create something on the line of:
  
  echo help('<KEYWORD>') | python

But it would be definitely better to have a program to be invoked. Maybe
we can create a wrapper to do this? ...

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060925/30ea67cf/attachment.pgp


More information about the pkg-vim-maintainers mailing list