22.34 The zsh/zleparameter Module

The zsh/zleparameter module defines two special parameters that can be used to access internal information of the Zsh Line Editor (see Zsh Line Editor).

keymaps

This array contains the names of the keymaps currently defined.

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 ‘builtin’ for builtin widgets, a string of the form ‘user:name’ for user-defined widgets, where name is the name of the shell function implementing the widget, a string of the form ‘completion:type:name’ for completion widgets, or a null value if the widget is not yet fully defined. In the penultimate case, type is the name of the builtin widget the completion widget imitates in its behavior and name is the name of the shell function implementing the completion widget.