about summary refs log tree commit diff
path: root/Functions/Zle/bash-forward-word
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-07-06 17:25:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-07-06 17:25:53 +0000
commitfe06b7a73db3af0a4ba6988c5c467a90d36a2a76 (patch)
treea16639e189c22b372c7f5741e22273a2b310acfe /Functions/Zle/bash-forward-word
parent13484584472e82505c9decd686bb67771af508c9 (diff)
downloadzsh-fe06b7a73db3af0a4ba6988c5c467a90d36a2a76.tar.gz
zsh-fe06b7a73db3af0a4ba6988c5c467a90d36a2a76.tar.xz
zsh-fe06b7a73db3af0a4ba6988c5c467a90d36a2a76.zip
15279: ${(S)...%%...} etc. doc; 15288: bash word functions + doc
Diffstat (limited to 'Functions/Zle/bash-forward-word')
-rw-r--r--Functions/Zle/bash-forward-word9
1 files changed, 9 insertions, 0 deletions
diff --git a/Functions/Zle/bash-forward-word b/Functions/Zle/bash-forward-word
new file mode 100644
index 000000000..963ea012a
--- /dev/null
+++ b/Functions/Zle/bash-forward-word
@@ -0,0 +1,9 @@
+# This implements a bash-style forward-word.
+# To use,
+#   zle -N bash-forward-word
+#   bindkey '...' bash-forward-word
+# or if you wish to replace existing forward-word bindings,
+#   zle -N forward-word bash-forward-word
+
+local WORDCHARS=''
+zle .forward-word