Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://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":



  • 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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-03-19 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found