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:
as for between other apps, copy or cutting goes to the windows clipboard and mouse highlighting will copy to the X buffer.
- 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).
- 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:
- :.+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.
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||