zsh-workers
 help / color / mirror / code / Atom feed
* Overriding a yank* widget in zle
@ 2010-12-30 21:59 Wayne Davison
  2010-12-31  6:39 ` Wayne Davison
  2010-12-31  8:28 ` Bart Schaefer
  0 siblings, 2 replies; 11+ messages in thread
From: Wayne Davison @ 2010-12-30 21:59 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]

I'm trying to figure out how to override the zle yank widget without
breaking the ability to use yank-pop, and this does not appear to be
possible in the current code.  A query in early 2005 on the subject went
unanswered, so hopefully I didn't miss some simple solution to this.

I've coded up a patch that adds the -y option to zle so that I can define a
"zle -Ny yank" widget (as well as yank-pop), which marks it as being a
ZLE_YANK equivalent.  I'm not sure that this is the right solution, so see
what you think of the change.

..wayne..

[-- Attachment #1.2: Type: text/html, Size: 625 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-01  6:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-30 21:59 Overriding a yank* widget in zle Wayne Davison
2010-12-31  6:39 ` Wayne Davison
2010-12-31  8:28 ` Bart Schaefer
2010-12-31 23:23   ` Wayne Davison
2015-08-31  7:54   ` PATCH: Implement zle -P Mikael Magnusson
2015-08-31  7:56     ` Mikael Magnusson
2015-08-31  9:55     ` PATCH: Set completion function flags correctly for " Mikael Magnusson
2015-08-31 10:17       ` Mikael Magnusson
2015-08-31 17:11     ` PATCH: Implement " Peter Stephenson
2015-09-01  6:23       ` Bart Schaefer
2015-09-01  6:50         ` Mikael Magnusson

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).