From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13092 invoked from network); 17 Jul 2000 17:04:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jul 2000 17:04:37 -0000 Received: (qmail 20123 invoked by alias); 17 Jul 2000 17:04:19 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3293 Received: (qmail 20116 invoked from network); 17 Jul 2000 17:04:18 -0000 From: "Bart Schaefer" Message-Id: <1000717170401.ZM22548@candle.brasslantern.com> Date: Mon, 17 Jul 2000 17:04:01 +0000 In-Reply-To: <0FXU00G2VEVXZ5@la-la.cambridgesiliconradio.com> Comments: In reply to Peter Stephenson "Re: wanted: viins-mode and digit argument with a,i,A and such" (Jul 17, 2:02pm) References: <0FXU00G2VEVXZ5@la-la.cambridgesiliconradio.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-users@sunsite.auc.dk (Zsh users list) Subject: Re: wanted: viins-mode and digit argument with a,i,A and such MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 17, 2:02pm, Peter Stephenson wrote: } Subject: Re: wanted: viins-mode and digit argument with a,i,A and such } } > hi all! } > } > when i use bindkey -e, i can insert one character 10 times with } > ESC 10 . } > } > With vi one normally uses something like 10i. } > This is not possible with ZSH ( bindkey -v set ). } } If you are using 3.1, try a widget like [...] I generally agree with the new philosophy of not adding things as builtins that can be done as widgets, but this is so unbelievably trivial and so completely general that I have no idea why we shouldn't do it: Index: Src/Zle/zle_vi.c =================================================================== @@ -82,6 +82,8 @@ vichgbufptr = 1; vichgrepeat = 0; } + if (zmod.flags & MOD_MULT) + prefixflag = 1; } /**/ -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net