Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'll go along with this, too, with a similar story. I very briefly used emacs, but couldn't remember the (seemingly) 4 step key commands - control-w control-x, or whatever. I forget, obviously. Thankfully ;)

I did a long tour of plain vanilla vi (my early Linux/FreeBSD days, then a long contract as a Solaris admin), thinking I was Mr. Vi - woo, look at me! setting marks, yanking to named buffers, and my perl background helped a lot with doing 'complicated' find/replace regexen on the vi command line. Never got exposed to vim or its advanced features.

Until a few weeks ago. Boy, have I been missing out. Now I'm browsing the file explorer, stepping through my buffer history, opening vertical and horizontal splits. And I've setup my first kep mappings and macros, naturally containing perl-isms. Including the first one of which I was especially proud, adding a POD entry for the word under my cursor, a few lines above my current line (for ease in creating POD for subroutines).

I got my start down the advanced vim path partly by shoulder surfing an apparent vim wizard at the office, but also right here at the monastery with the help of this single solitary link: .vimrc for perl programmers. That node (and the many helpful replies therein) merely brush the surface. There are other tips (there's a cool tip for a key mapping that filters your source through perltidy contributed by cees), links to additional perlmonks discussions regarding vi/vim, links to offsite tutorials (one of which was written up by TVSET), and a lot of other really good reading material.

You're right, getting around in vi/vim can be a little tricky at first - I know it was a little tough to remember way back when. But these days, I get into the equivalent of notepad/textedit and inadvertantly leave little clues around the file that indeed, I am a vim user.

<ESC>:wq!


--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

In reply to Re^2: (OT) Wanted: Compact Perl Syntax High-lighting Editor by chargrill
in thread (OT) Wanted: Compact Perl Syntax High-lighting Editor by Spidy

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (5)
    As of 2021-05-08 13:46 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Perl 7 will be out ...





      Results (96 votes). Check out past polls.

      Notices?