VIM & Perl tidbit
All of us can use tidbits of knowledge or help every now and then.
For all of use that use PERL a lot (which is me!), then any tidbit of help we can get is great!. From this article, we get the tidbit below.
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
I’ve just added the following to my .vimrc:
noremap K :!perldocperldoc -f
Now when you type ‘K’ in command mode, it will call up the appropriate perldoc, if possible.
Leave a comment
You must be logged in to post a comment.