Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Wednesday January 23, 2008
11:41 AM

Integrate Perldoc with VIM

[ #35469 ]

If you're primarily a Perl hacker and don't use C much, you might find it annoying when you hit 'K' in command mode. That's because VIM runs something like this:

nmap K :Map <cword><cr>

I've just added the following to my .vimrc:

noremap K :!perldoc <cword> <bar><bar> perldoc -f <cword><cr>

Now when you type 'K' in command mode, it will call up the appropriate perldoc, if possible.

I really should have added that to Perl Hacks. Damn.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.