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 Apr 25, 10:58am, Peter Stephenson wrote:
} Subject: Re: Problem with motion commands defined using match-word-by-styl
}
} Bart Schaefer wrote:
} > Incidentally I just noticed that within a widget called by using
} > execute-named-command, the value of $KEYS is carriage return.  I'm not
} > sure what I expected it to be, but that wasn't it.
} 
} I suppose the right answer is the \M-x sequence, or whatever called
} execute-named-command, followed by the command name, followed by a
} newline?

I suppose, but that seems excessive.

} Here's a patch that allows you to request that zle sets the widget in
} the way that it does at the top level.  It's actually done by storing
} the global Thingy in the variable bindk, so it's not quite that simple

So ... shouldn't getvirange() do this part too?  What harm could it be?

} +    bindk = t;
}      ret = execzlefunc(t, args);
} +    bindk = savbindk;



Messages sorted by: Reverse Date, Date, Thread, Author