about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/bash-backward-kill-word5
-rw-r--r--Functions/Zle/bash-backward-word9
-rw-r--r--Functions/Zle/bash-down-case-word9
-rw-r--r--Functions/Zle/bash-forward-word9
-rw-r--r--Functions/Zle/bash-kill-word9
-rw-r--r--Functions/Zle/bash-transpose-words9
-rw-r--r--Functions/Zle/bash-up-case-word9
7 files changed, 57 insertions, 2 deletions
diff --git a/Functions/Zle/bash-backward-kill-word b/Functions/Zle/bash-backward-kill-word
index a85c9ba3e..6c4f3ba18 100644
--- a/Functions/Zle/bash-backward-kill-word
+++ b/Functions/Zle/bash-backward-kill-word
@@ -1,8 +1,9 @@
-# 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
+# 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
-# }
diff --git a/Functions/Zle/bash-backward-word b/Functions/Zle/bash-backward-word
new file mode 100644
index 000000000..23da8b3fe
--- /dev/null
+++ b/Functions/Zle/bash-backward-word
@@ -0,0 +1,9 @@
+# This implements a bash-style backward-word.
+# To use,
+#   zle -N bash-backward-word
+#   bindkey '...' bash-backward-word
+# or if you wish to replace existing backward-word bindings,
+#   zle -N backward-word bash-backward-word
+
+local WORDCHARS=''
+zle .backward-word
diff --git a/Functions/Zle/bash-down-case-word b/Functions/Zle/bash-down-case-word
new file mode 100644
index 000000000..f12fb7efc
--- /dev/null
+++ b/Functions/Zle/bash-down-case-word
@@ -0,0 +1,9 @@
+# This implements a bash-style down-case-word.
+# To use,
+#   zle -N bash-down-case-word
+#   bindkey '...' bash-down-case-word
+# or if you wish to replace existing down-case-word bindings,
+#   zle -N down-case-word bash-down-case-word
+
+local WORDCHARS=''
+zle .down-case-word
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
diff --git a/Functions/Zle/bash-kill-word b/Functions/Zle/bash-kill-word
new file mode 100644
index 000000000..ba638a3c7
--- /dev/null
+++ b/Functions/Zle/bash-kill-word
@@ -0,0 +1,9 @@
+# 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
diff --git a/Functions/Zle/bash-transpose-words b/Functions/Zle/bash-transpose-words
new file mode 100644
index 000000000..eb96a1277
--- /dev/null
+++ b/Functions/Zle/bash-transpose-words
@@ -0,0 +1,9 @@
+# This implements a bash-style transpose-words.
+# To use,
+#   zle -N bash-transpose-words
+#   bindkey '...' bash-transpose-words
+# or if you wish to replace existing transpose-words bindings,
+#   zle -N transpose-words bash-transpose-words
+
+local WORDCHARS=''
+zle .transpose-words
diff --git a/Functions/Zle/bash-up-case-word b/Functions/Zle/bash-up-case-word
new file mode 100644
index 000000000..1a61db64c
--- /dev/null
+++ b/Functions/Zle/bash-up-case-word
@@ -0,0 +1,9 @@
+# This implements a bash-style up-case-word.
+# To use,
+#   zle -N bash-up-case-word
+#   bindkey '...' bash-up-case-word
+# or if you wish to replace existing up-case-word bindings,
+#   zle -N up-case-word bash-up-case-word
+
+local WORDCHARS=''
+zle .up-case-word