1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 05:24:23 +01:00
zsh/Functions/Zle/bash-backward-kill-word

10 lines
302 B
Plaintext

# This implements a bash-style backward-kill-word.
# To use,
# zle -N bash-backward-kill-word
# bindkey '...' bash-backward-kill-word
# or if you wish to replace existing backward-kill-word bindings,
# zle -N backward-kill-word bash-backward-kill-word
local WORDCHARS=''
zle .backward-kill-word