about summary refs log tree commit diff
path: root/Functions/Zle/bash-backward-kill-word
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-06-29 13:47:32 +0000
committerClint Adams <clint@users.sourceforge.net>2001-06-29 13:47:32 +0000
commit0b8e4008b63cafea7d13cd6340261c9af12362e3 (patch)
tree3b0d95991ebd3853bc73b224c691c198be7556e5 /Functions/Zle/bash-backward-kill-word
parentc2277ed220d0ebbc3cdc674d6ac4ddb308f8e69c (diff)
downloadzsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.tar.gz
zsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.tar.xz
zsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.zip
Bart15083: bash-backward-kill-word
Diffstat (limited to 'Functions/Zle/bash-backward-kill-word')
-rw-r--r--Functions/Zle/bash-backward-kill-word8
1 files changed, 8 insertions, 0 deletions
diff --git a/Functions/Zle/bash-backward-kill-word b/Functions/Zle/bash-backward-kill-word
new file mode 100644
index 000000000..a85c9ba3e
--- /dev/null
+++ b/Functions/Zle/bash-backward-kill-word
@@ -0,0 +1,8 @@
+# function bash-backward-kill-word {
+# This implements a bash-style backward-kill-word.
+# To use,
+#   zle -N bash-backward-kill-word
+#   bindkey '...' bash-backward-kill-word
+local WORDCHARS=''
+zle .backward-kill-word
+# }