From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Peter Stephenson <pws@cambridgesiliconradio.com>,
zsh-users@sunsite.auc.dk (Zsh users list)
Subject: Re: wanted: viins-mode and digit argument with a,i,A and such
Date: Mon, 17 Jul 2000 17:04:01 +0000 [thread overview]
Message-ID: <1000717170401.ZM22548@candle.brasslantern.com> (raw)
In-Reply-To: <0FXU00G2VEVXZ5@la-la.cambridgesiliconradio.com>
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 <character>.
} >
} > With vi one normally uses something like 10i<character>.
} > 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
next prev parent reply other threads:[~2000-07-17 17:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-17 12:26 Matthias Kopfermann
2000-07-17 13:02 ` Peter Stephenson
2000-07-17 17:04 ` Bart Schaefer [this message]
2000-07-17 17:33 ` Peter Stephenson
2000-07-17 18:13 ` Bart Schaefer
2000-07-17 20:14 ` Thomas Köhler
[not found] <no.id>
2000-07-17 13:39 ` Matthias Kopfermann
2000-07-17 14:06 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1000717170401.ZM22548@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=pws@cambridgesiliconradio.com \
--cc=zsh-users@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).