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



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