Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2021-06-15 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (73 votes). Check out past polls.

    Notices?