1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

28229: can list individual keymaps

This commit is contained in:
Peter Stephenson 2010-09-05 20:39:08 +00:00
parent 17dee17e4e
commit ff955f61b4
3 changed files with 30 additions and 12 deletions

View file

@ -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.