On Wed, 31 Mar 2010 20:55:23 -0400, Shmuel Metz (Seymour J.) wrote:

>In <[email protected]>, on
>03/29/2010
>   at 10:27 AM, Mark Post said:
>
>>Now _that_ is just as easy as ISPF (sort of) when using vi.  To move 5
>>lines:
>
>How about moving a large block of lines? With ISPF I can put MM on one
>end, find the other end, put MM on it and then put A or B where I want it
>moved. That's especially easy if I've previously defined labels on the
>relevant lines.
>
vi:

o Locate last line; mark it.

o Locate first line; delete through mark.

o Locate insertion point; "p" for "put

o Repeat last step as needed.

"p" is always A(fter).  But a touch of the up-arrow
fixes that.  Except at beginning of file.

It's all reflex for me; I don't know whether it's fewer or
more keystrokes than ISPF prefix commands (which aren't
reflex for me).  As was said earlier, it's what one is
accustomed to that counts

Chag Kasher V'Same'ach,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to