about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-09-05 20:39:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-09-05 20:39:08 +0000
commitff955f61b4ae277fa82ff0097d47047198aeaefc (patch)
treefcdf65dd77629a20d9f9c3b14274e1277d9c1918 /Doc/Zsh
parent17dee17e4e5ab99cd50e6ee3a21a8d6faa4aac96 (diff)
downloadzsh-ff955f61b4ae277fa82ff0097d47047198aeaefc.tar.gz
zsh-ff955f61b4ae277fa82ff0097d47047198aeaefc.tar.xz
zsh-ff955f61b4ae277fa82ff0097d47047198aeaefc.zip
28229: can list individual keymaps
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/zle.yo13
1 files changed, 8 insertions, 5 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 64012fd2f..f85f63f26 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -139,7 +139,7 @@ cindex(rebinding keys)
 cindex(keys, binding)
 cindex(binding keys)
 cindex(keymaps)
-xitem(tt(bindkey) [ var(options) ] tt(-l))
+xitem(tt(bindkey) [ var(options) ] tt(-l) [ tt(-l) ] [ var(keymap) ... ])
 xitem(tt(bindkey) [ var(options) ] tt(-d))
 xitem(tt(bindkey) [ var(options) ] tt(-D) var(keymap) ...)
 xitem(tt(bindkey) [ var(options) ] tt(-A) var(old-keymap new-keymap))
@@ -179,10 +179,13 @@ selected, namely:
 
 startitem()
 item(tt(-l))(
-List all existing keymap names.  If the tt(-L)
-option is also used, list in the form of tt(bindkey)
-commands to create the keymaps; this combination also shows
-which keymap is linked to `tt(main)', if any.
+List all existing keymap names; if any arguments are given, list just
+those keymaps.
+
+If the tt(-L) option is also used, list in the form of tt(bindkey)
+commands to create or link the keymaps.  `tt(bindkey -lL
+main)' shows which keymap is linked to `tt(main)', if any, and hence if
+the standard emacs or vi emulation is in effect.
 )
 item(tt(-d))(
 Delete all existing keymaps and reset to the default state.