Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: kill-region hook
- X-seq: zsh-workers 26496
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Michal Maruska <michal@xxxxxxxx>
- Subject: Re: kill-region hook
- Date: Fri, 30 Jan 2009 19:59:04 +0000
- Cc: Zsh Hackers' List <zsh-workers@xxxxxxxxxx>
- In-reply-to: <87fxj1psfv.fsf@xxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Michal Maruska <michal@xxxxxxxx>, Zsh Hackers' List <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <87fxj1psfv.fsf@xxxxxxxxxxxxxxxxxxxxx>
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