Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to get bash-style backward-kill-word?
- X-seq: zsh-users 3526
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Maciej Kalisiak <mac@xxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: how to get bash-style backward-kill-word?
- Date: Fri, 24 Nov 2000 23:34:10 +0000
- In-reply-to: <00Nov24.180835edt.453131-28539@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <00Nov24.180835edt.453131-28539@xxxxxxxxxxxxxxxxxxx>
On Nov 24, 6:08pm, Maciej Kalisiak wrote:
} Subject: how to get bash-style backward-kill-word?
}
} Is it possible with zsh to get "^W" behave just like in bash, where
} when editing a path it kills back to a blank, or to a '/'?
Either
WORDCHARS=${WORDCHARS:s,/,,}
or
bindkey '^W' vi-backward-kill-word
Try each to see which behavior you like better.
--
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