summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-04-19 19:43:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-04-19 19:43:45 +0000
commit95733c61c23a030ce4e73bbe3dc8b240d3f68010 (patch)
treea688066c4de37214199e720c78cf52def9910370 /Doc/Zsh/zle.yo
parent152b9885ed3efbde8d28473e1d75b8d5df733495 (diff)
downloadzsh-95733c61c23a030ce4e73bbe3dc8b240d3f68010.tar.gz
zsh-95733c61c23a030ce4e73bbe3dc8b240d3f68010.tar.xz
zsh-95733c61c23a030ce4e73bbe3dc8b240d3f68010.zip
bindkey -rp removes prefix bindings; bindkey -p bugfix
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 87e5182b3..46d604a0c 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -175,7 +175,20 @@ Only keys that are unbound or bound to tt(self-insert) are affected.
 item(tt(-r) var(in-string) ...)(
 Unbind the specified var(in-string)s in the selected keymap.
 This is exactly equivalent to binding the strings to tt(undefined-key).
+
 When tt(-R) is also used, interpret the var(in-string)s as ranges.
+
+When tt(-p) is also used, the var(in-string)s specify prefixes.  Any
+binding that has the given var(in-string) as a prefix, not including the
+binding for the var(in-string) itself, if any, will be removed.  For
+example,
+
+example(bindkey -rpM viins '^[')
+
+will remove all bindings in the vi-insert keymap beginning with an escape
+character (probably cursor keys), but leave the binding for the escape
+character itself (probably tt(vi-cmd-mode)).  This is incompatible with the
+option tt(-R).
 )
 item(tt(-s) var(in-string out-string) ...)(
 Bind each var(in-string) to each var(out-string).