Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
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
10: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.
More | Login | Reply
Loading... please wait.