1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00
zsh/Functions/Zle/bash-backward-kill-word

9 lines
302 B
Text

# 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