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

Re: Definition of a word



=?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