Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: backward-kill-word behavior
- X-seq: zsh-workers 15083
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: backward-kill-word behavior
- Date: Mon, 25 Jun 2001 15:43:01 -0700
- In-reply-to: <20010625213638.AE56C14286@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010625213638.AE56C14286@xxxxxxxxxxxxxxxxxxxxxxxx>
On Jun 25, 10:36pm, Peter Stephenson wrote:
>
> We can supply functions that do this. The deletion is a trivial one-line
> parameter substitution. However, pushing the deleted part onto the kill
> ring appears to be rather harder. You can manipulate point and mark, but
> that messes up the user's state. Is it really impossible to do this as the
> internals do, or have I missed something?
Is there something wrong with:
function bash-backward-kill-word {
local WORDCHARS=''
zle .backward-kill-word
}
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author