http://www.perlmonks.org?node_id=4946


in reply to perl perl use with VIM editor

I have some extensions. This is straight out of my .gvimrc, so it has the menu extensions. beware.

:46amenu Perl.Set\ Perl\ Make :set makeprg=perl\ -c\ %
:!perl -c %rl.Build\ \ \ \ \ \ \ \ \ \ \ \ <F5> :w
:!perl -d %rl.Debug :w
:46amenu Perl.Run\ \ \ \ \ \ \ \ \ \ \ \ \ \ <F6> :w^M:!perl %

The % refers to the current filename. Incidently, when Tim Vroom, the maintainer of this here site, and I worked together, we had a full integrated BackOrifice messaging system. I ran linux, and because he is a tool of the man, he ran windows.
Gvim is the greatest thing since sliced bread.

Replies are listed 'Best First'.
RE: Re: perl use with VIM editor
by Anonymous Monk on Mar 08, 2000 at 05:12 UTC
    Would you be so kind as to explain what the above code does, other than adding the Perl menu to the menubar? thanks
RE: Re: perl use with VIM editor
by vroom (His Eminence) on Mar 07, 2000 at 04:26 UTC
    That was not by choice... clearly I have risen above those days. Besides you had seniority... and we could only have one linux box to test the cross-platform capabilities of our system. If I'm such a tool how did I start out making more than you were thanks to my smooth finagling? Must at least have been a better paid "tool of the man".

    In the future when you link could you make sure they point to actual nodes... otherwise I might just have to delete your less than helpful comments in the future. Look at Perl Monk Procedures if you want to learn how to do things correctly for a change.

    vroom | Tim Vroom | vroom@cs.hope.edu