Stories
Slash Boxes
Comments
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

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.
  • If, and only if, you are in a file which vim thinks has a 'vim' filetype ...

    However once you've edited a Vim file the mapping will persist and continue to apply to later non-Vim files that you edit. The fix is to make it a buffer-local mapping:

    au! FileType vim :noremap <buffer> K :exe expand("help <cword>")<cr>