I have used vim/gvim for a long time. I doubt that you can achieve the level of integration that emacs provides (e.g., stepping you through the source code in sync with the state of the debugger (running the debugger in one window, and the source code in another)).

From perldoc perldebug :

(Historically, a similar setup for interacting with vi and the X11 window system had also been available, but at the time of this writing, no debugger support for vi currently exists.)

Tom Christiansen's .exrc file is available in Unix Power Tools, on page 570-572, snippet 31.09. Source code for the book is available here, and the file you want from in there is "upt2/exrc". But it does not do what you want, I think.

There is a Perl interface in vim/gvim (go help, search for perl, then follow the documentation pointers), but it accomplishes a different thing: it provides for Perl access to vim editing functions, basically.

My advice for you would be to go for emacs with the viper (vi emulation) package (I use this all time, and it works great).

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com


In reply to Re: vim and perl by clemburg
in thread vim and perl by chorg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.