about summary refs log tree commit diff
path: root/Doc/Zsh/mod_zleparameter.yo
blob: 76d23ba2aec850d8e55a3ae8a0e634958eb1d3b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
COMMENT(!MOD!zsh/zleparameter
Access to internals of the Zsh Line Editor via parameters.
!MOD!)
cindex(parameters, special)
The tt(zsh/zleparameter) module defines two special parameters that can be 
used to access internal information of the Zsh Line Editor (see
ifzman(zmanref(zshzle))\
ifnzman(noderef(Zsh Line Editor))\
).

startitem()
vindex(keymaps)
item(tt(keymaps))(
This array contains the names of the keymaps currently defined.
)
vindex(widgets)
item(tt(widgets))(
This associative array contains one entry per widget. The name 
of the widget is the key and the value gives information about the
widget. It is either
  the string `tt(builtin)' for builtin widgets,
  a string of the form `tt(user:)var(name)' for user-defined widgets,
    where var(name) is the name of the shell function implementing the widget,
  a string of the form `tt(completion:)var(type)tt(:)var(name)'
    for completion widgets,
  or a null value if the widget is not yet fully defined.
In the penultimate case, var(type) is the name of the builtin widget the
completion widget imitates in its behavior and var(name) is the name
of the shell function implementing the completion widget.
)
enditem()