Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vi-kill-word widget/function which respects $WORDCHARS
- X-seq: zsh-users 14283
- From: spiralofhope <spiralofhope@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: vi-kill-word widget/function which respects $WORDCHARS
- Date: Wed, 5 Aug 2009 07:44:57 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=2C5oEanXZhT9qwAxhMfnWM9y7857zdPp0qyfV+xaDF8=; b=aoXfiBImHWcgs2sZu9kgoDNhPx1VAbppavBqjqRZ8WsmOc5u/5BqF9PjLR0EfhEw5o pO26h5yiO6N3kBTIzgIKRXYu945evb7kWAc2gl2yWvffgNLvWW5IZQp9joEcMDdxU5Uq xYRTkVgcAzKc4RCkU9Kv8s8U5L3xrKr1ULM4Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=hFKIDdUNan5/TZ5mW3S2kxgNux0EudsZRUvs9mLw9Yw/qa/Zwid8gv+k0OjgLGCqqK V2xAzx2FdBd1A/2NPu4kRUIeBffJwhfBaIhrXIPzI5GS2MHQ1qNpEYTQ27VeVhdxY++T Y17GBy13Xtx+d/CGArls0QE+wxq53kcIvLzf8=
- In-reply-to: <200907271129.n6RBTP5p025013@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090724105542.5bf34da0@xxxxxxxxx> <200907271129.n6RBTP5p025013@xxxxxxxxxxxxxx>
On Mon, 27 Jul 2009 12:29:25 +0100
Peter Stephenson <pws@xxxxxxx> wrote:
> I don't really understand the question since kill-word does respect
> $WORDCHARS.
My $WORDCHARS is
*?_-.[]~=/&;!#$%^(){}<>
So if I begin this command:
foo/bar baz
and I go to the first character (f) and I do kill-word, I would expect
to end up with one of these:
/bar baz
bar baz
However, the entire first is deleted on my install (4.3.9).
I bound alt-delete in my case:
bindkey '^[[3;3~' kill-word
> You can do clever things with the replacement functions described in
> the zshcontrib manual; search for "match-words" for the description.
Ok, I'll check this out. Thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author