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

Re: how to get bash-style backward-kill-word?



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