Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: kill-region hook



On Fri, Jan 30, 2009 at 01:07:32AM +0100, Michal Maruska wrote:
> 
> Hello,
> 
> I would like to have a hook (a shell function) run when "kill-buffer" is
> populated.
> Motivation: I would use it to promote the string to X selection (via
> an Escape sequence of rxvt).
[...]

Note that I once did something like that:
http://stchaz.free.fr/mouse.zsh
I had to wrap most widgets that use the killring.

-- 
Stéphane



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