From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15194 invoked from network); 17 Jul 2000 20:29:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jul 2000 20:29:24 -0000 Received: (qmail 11878 invoked by alias); 17 Jul 2000 20:29:00 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3296 Received: (qmail 11870 invoked from network); 17 Jul 2000 20:28:58 -0000 Date: Mon, 17 Jul 2000 22:14:19 +0200 From: =?iso-8859-1?Q?Thomas_K=F6hler?= To: Zsh users list Subject: Re: wanted: viins-mode and digit argument with a,i,A and such Message-ID: <20000717221419.E32037@picard.franken.de> Mail-Followup-To: =?iso-8859-1?Q?Thomas_K=F6hler?= , Zsh users list References: <1000717170401.ZM22548@candle.brasslantern.com> <0FXU00GO1RFRZ5@la-la.cambridgesiliconradio.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EP0wieDxd4TSJjHq" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <0FXU00GO1RFRZ5@la-la.cambridgesiliconradio.com>; from pws@cambridgesiliconradio.com on Mon, Jul 17, 2000 at 07:34:43PM +0200 X-Operating-System: Linux picard.franken.de 2.2.14 X-Editor: VIM - Vi IMproved 6.0a ALPHA http://www.vim.org/ X-IRC: tirc-1.2; Nick: jeanluc X-URL: http://jeanluc-picard.de/ --EP0wieDxd4TSJjHq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 17, 2000 at 07:34:43PM +0200, Peter Stephenson wrote: >=20 > > } > when i use bindkey -e, i can insert one character 10 times with > > } > ESC 10 . > > } >=20 > > } > With vi one normally uses something like 10i. > > } > This is not possible with ZSH ( bindkey -v set ). > > }=20 > > } If you are using 3.1, try a widget like [...] > >=20 > > I generally agree with the new philosophy of not adding things as built= ins > > 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: >=20 > This isn't quite how vi handles it, however. It would wait till you hit > escape, then insert everything you typed that many times. That would need > more work. Plus in zsh there are other ways of exiting insert mode than > returning to command mode --- what should happen on `return'? the usual thing, plus the characters last inserted being the new $LBUFFER - hey, this would be cool (:-) CU, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - Linux <>< WWW: http://jeanluc-picard.de | for Computers IRC: jeanluc | on All Real PGP public key available from Homepage! | Starships --EP0wieDxd4TSJjHq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5c2kaTEYXWMJlHuYRAsaEAJ9ktTngdYiuhwCW0GZ+HqOYxFng/wCfVxBO TO6gR8vdqhzb4q6nZYm/iD4= =p5rs -----END PGP SIGNATURE----- --EP0wieDxd4TSJjHq--