![](https://seccdn.libravatar.org/avatar/1dea64c351deaab589ae75daff9fe44e.jpg?s=120&d=mm&r=g)
On 02/28/2013 02:42 PM, Anton Aylward wrote:
Duaine Hechler said the following on 02/28/2013 03:11 PM:
In other words, I'm used to:
when I'm working with a block of lines: (cc = copy / mm = move / i = insert (for copy and move) / dd = delete
(which can be used anywhere in the file - can cross multiple screens of lines)
cc==== ........... ........... cc==== ........... ........... i=====
None of this ctrl + m, etc. Or having to deal with ONLY the lines that on the current screen. (crap).
I think you're getting confused with emacs or something.
Copy, delete, cut-and-paste (which is what 'move' really is' can be done anywhere in the file and can work on more lines than appear on the screen. You can set - depending on language - patterns for ranges or groups of lines to work on automatically.
Yes the syntax is different, but the capability is there. In fact I think the capability in VI (and variants) is more comprehensive.
So, can you do move lines 827 though 844 to before line 212 in one go? Trivial in VI (and variants).
Well, I'm not that deep in VI and maybe so BUT its not as simple as the other editors ! -- Duaine Hechler Piano, Player Piano, Pump Organ - Tuning, Servicing & Rebuilding (314) 838-5587 / dahechler@att.net / www.hechlerpianoandorgan.com Home & Business user of Linux - 13 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org