Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Definition of a word
- X-seq: zsh-users 1950
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Definition of a word
- Date: Wed, 02 Dec 1998 09:44:33 +0100
- In-reply-to: "Thomas Köhler"'s message of "Wed, 02 Dec 1998 08:57:52 NFT." <19981202085752.B1491@xxxxxxxxxxxxxxxxx>
=?iso-8859-1?Q?Thomas_K=F6hler?= wrote:
> picard ~> bindkey -v
> picard ~> cd /usr/local/bin_
> (hit ^W)
> picard ~> cd /usr/local/_
> (hit ^W)
> picard ~> cd /usr/local_
>
> Why isn't WORDCHARS honored when in vi-like editing mode?
The binding is vi-backward-kill-word, which uses vi-like word
definitions. You can bind it emacs mode to get the same effect, but
it's not quite the same because of the way it deletes the delimiter as
a separate word. Or, you can bind backward-kill-word in vi mode for
the opposite.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author