Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with motion commands defined using match-word-by-style used with vi-delete
- X-seq: zsh-users 10179
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Problem with motion commands defined using match-word-by-style used with vi-delete
- Date: Mon, 24 Apr 2006 21:39:49 +0200
- Cc: zsh-users@xxxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=odnpx4xEjuc+fvVWP7pzksjCQtuKtoyLgcBhxhgG9RVn4HyqRqR5HprOB30H/q/smxokfOMR8VhEBYIbZozHZoYZuODGDdcaNdQvRLL1swZ8NJYLcOQxeeMTMH15eZo9T5bsjdA5eOnJHMKxbMqAA0w7gmgUddTMOS+s4LnZP2E=
- In-reply-to: <200604232308.k3NN8Wtj004945@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <060423085310.ZM31491@xxxxxxxxxxxxxxxxxxxxxx> <200604232308.k3NN8Wtj004945@xxxxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 4/24/06, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> Bart Schaefer wrote:
> > } I fear my time would be
> > } better spent implementing .recursive-edit-read-one-key.
> >
> > There must be a better name for it than that. GNU emacs appears to call
> > it read-key-sequence.
>
> Here's a simple internal widget that reads a key sequence and sets
> REPLY to the command bound to it (so you can run zle on that).
Seems to work just fine. It does, however, only solve part of the
problem. There's still no easy way to execute the command in the
right environment so that WIDGET is set to the read command that we
want to execute.
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author