Matthew Winn wrote:
On Wed, 21 Mar 2007 07:45:39 +0100, "A.J.Mechelynck"
<[EMAIL PROTECTED]> wrote:

Method II: If you know exactly the line numbers you want:

        :3,90003y +

For Method II, see ":help :y".

And if you don't know the line numbers (and don't want to find out and
remember them) you can go to the first line and create a mark (ma), go
to the last line, and do

    :'a,.y +

You can, though in that case it is IMHO easier to use Visual mode, as in my Method I.


(This style of address specification works for vi too, though the "+"
doesn't.)


Best regards,
Tony.
--
Don't worry about the world coming to an end today.  It's already
tomorrow in Australia.
                -- Charles Schultz

Reply via email to