From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: pasting many times Date: Mon, 23 Oct 2006 21:55:02 +0200 Organization: The Church of Emacs Message-ID: <87mz7mu7s9.fsf@hans.local.net> References: <20061023161409.GH12474@radix50.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161633394 15465 80.91.229.2 (23 Oct 2006 19:56:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 19:56:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 23 21:56:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gc5u0-0006wS-Mx for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 21:56:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc5u0-0001Iq-BB for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 15:56:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gc5ti-0001G9-A6 for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 15:55:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gc5td-0001Ct-1d for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 15:55:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc5tc-0001Cp-R0 for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 15:55:40 -0400 Original-Received: from [212.227.126.171] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gc5tc-0004FD-NB for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 15:55:41 -0400 Original-Received: from [84.167.41.30] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Gc5tH3FIA-000513; Mon, 23 Oct 2006 21:55:20 +0200 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id 03F7B756B7; Mon, 23 Oct 2006 21:55:02 +0200 (CEST) Original-To: Baurzhan Ismagulov In-Reply-To: <20061023161409.GH12474@radix50.net> (Baurzhan Ismagulov's message of "Mon\, 23 Oct 2006 18\:14\:09 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38213 Archived-At: Baurzhan Ismagulov writes: > Hello Holger, > > On Mon, Oct 23, 2006 at 05:31:59PM +0200, Holger Sparr wrote: >> You might want to use `toggle-viper-mode? and bind this to a key >> (key combination). >> >> >> Then you can do: >> I think it's not fair to the other editors to claim that you only need 3 keystrokes in vi, you often have to change the modes in your session, that represents only in the best case. >> 59p > Thanks, good to know! Five keystrokes instead of nine. However, IIRC, We would need some modifier keys as well and this would result in at least 7 keystrokes unfortunately. > there was a combination like M-5 M-9 ?-? C-y. I can't imagine this. But I've another idea assuming you wan't to have 59 additional lines with some text! Instead of copying the text (to the kill ring) mark it with C-x . as a fill prefix, place the cursor to a line beginning at your choosing and type M-5 9 C-o. Here we are with 5 keystrokes. Do you intend to modify the 59 fold copied text afterwards? -- Best wishes H. Dieter Wilhelm Darmstadt, Germany