Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
vim has most of the features you're asking for:
  • Autoindent: :set smartindent will turn it on
  • Block cut and paste: there are SEVERAL command sequences for this. You could:
    • position the cursor at the start of the block press ma (set a mark named a at this line)
    • move to some other line press y'a (yank / copy from this line to mark a) or d'a (delete / cut from this line to mark a)
    • then move to the line you want insert those copied or cut lines and press p (paste).
    as for between other apps, copy or cutting goes to the windows clipboard and mouse highlighting will copy to the X buffer.
  • gvim supports this:
    • CTRL-W N splits the current window horizontally. (think: Control Window New)
    • CTRL-W J moves the focus to the window below
    • CTRL-W K moves the focus to the window above
    • :q (or another exit command) will close the current window
    • you can cut / paste between any of the windows
  • Jump to specific line number:
    • :(number)
    • :.+10 ten lines below the current one
    • :$ last line of the file
    • :$-5 5 lines before last line of file
  • Umm...regex find and replace. hello? :) you can also have it prompt per each replacment by adding c after the closing / on the replacement
A very large part of the appeal for me is that my hands never leave the home keys regardless of the task I'm performing. I even mapped the escape key to ALT so that I didn't have to reach for it.

HTH

/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"


In reply to Re: Re: Editing features for power users by maverick
in thread Editing features for advanced users by gmax

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!
  • 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: (6)
    As of 2015-07-03 02:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (47 votes), past polls