[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat count for yanking

From: Perry Smith
Subject: Re: Repeat count for yanking
Date: Tue, 5 Jul 2011 07:38:47 -0500

On Jul 5, 2011, at 6:46 AM, Richard Riley wrote:

C K Kashyap <address@hidden> writes:

How can I provide a repeat count to yank - 

I'd like to kill a line and then paste it 100 times - how can I
achieve this?


I was looking at this recently.

If it is a one time thing, I usually do it in powers of two.  e.g. yank it maybe 4 times, then kill that and yank 4 times.  Now you have 16 lines.  ...

Remember that M-< sets the mark.  So if you narrow the region you can paste a lot of lines rather quickly.

If I was going to do this moderately frequently, I would toy around and learn how to do it via M-; (eval).  Seems like one line of lisp could do this.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]