1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
zsh/Functions/Zle/bash-kill-word

10 lines
239 B
Plaintext

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