@carlwr/zsh-lexicon
    Preparing search index...

    Interface ZleWidgetDoc

    ZLE widget — standard and special widgets from zle.yo.

    Does not extend SyntaxDocBase: the header carries no usage signature beyond the name — its parenthesised groups are default bindings, lifted into defaultBindings.

    interface ZleWidgetDoc {
        category: "zle_widget";
        id: Documented<"zle_widget">;
        display: string;
        desc: string;
        subKind:
            | "Completion"
            | "Movement"
            | "History Control"
            | "Modifying Text"
            | "Arguments"
            | "Miscellaneous"
            | "Text Objects"
            | "Special Widgets";
        defaultBindings: readonly ZleDefaultBinding[];
        subItems?: readonly [ItemEntry, ItemEntry];
        outro?: string;
        module?:
            | "zsh/attr"
            | "zsh/cap"
            | "zsh/clone"
            | "zsh/compctl"
            | "zsh/complete"
            | "zsh/complist"
            | "zsh/computil"
            | "zsh/curses"
            | "zsh/datetime"
            | "zsh/db/gdbm"
            | "zsh/deltochar"
            | "zsh/example"
            | "zsh/files"
            | "zsh/langinfo"
            | "zsh/mapfile"
            | "zsh/mathfunc"
            | "zsh/nearcolor"
            | "zsh/net/socket"
            | "zsh/net/tcp"
            | "zsh/newuser"
            | "zsh/param/private"
            | "zsh/parameter"
            | "zsh/pcre"
            | "zsh/regex"
            | "zsh/rlimits"
            | "zsh/sched"
            | "zsh/stat"
            | "zsh/system"
            | "zsh/termcap"
            | "zsh/terminfo"
            | "zsh/watch"
            | "zsh/zftp"
            | "zsh/zle"
            | "zsh/zleparameter"
            | "zsh/zprof"
            | "zsh/zpty"
            | "zsh/zselect"
            | "zsh/zutil";
    }

    Hierarchy (View Summary)

    Index
    category: "zle_widget"

    The record's category — the Lexicon map it sits in; in the JSON, its file. One constant per record definition.

    id: Documented<"zle_widget">

    The record's lexicon key: a shell-safe slug — printable ASCII without whitespace, non-empty.

    display: string

    Surface form for display: printable ASCII with spaces, non-empty. The id unless the manual's form differs from it:

    • normalized in the id: an option's AUTO_CD
    • not shell-safe: a redirection's > word, a history modifier's h [ digits ]
    • with argument markers: a flag's j:string:
    desc: string
    subKind:
        | "Completion"
        | "Movement"
        | "History Control"
        | "Modifying Text"
        | "Arguments"
        | "Miscellaneous"
        | "Text Objects"
        | "Special Widgets"

    The manual subsection: Special Widgets holds the shell-called hooks; every other holds bindable editing widgets.

    defaultBindings: readonly ZleDefaultBinding[]

    Default bindings per keymap: the header's (emacs) (vicmd) (viins) triple or, under Text Objects, its single viopp/visual group. Empty when the manual lists none; a keymap appears only with ≥1 key, so an explicit (unbound) is indistinguishable from an omitted triple.

    subItems?: readonly [ItemEntry, ItemEntry]

    Nested item list inside the widget body (e.g. history-incremental-search-backward). When present, desc is the intro; renderer composes intro → sub-items → outro.

    outro?: string

    Prose after the sub-item list.

    module?:
        | "zsh/attr"
        | "zsh/cap"
        | "zsh/clone"
        | "zsh/compctl"
        | "zsh/complete"
        | "zsh/complist"
        | "zsh/computil"
        | "zsh/curses"
        | "zsh/datetime"
        | "zsh/db/gdbm"
        | "zsh/deltochar"
        | "zsh/example"
        | "zsh/files"
        | "zsh/langinfo"
        | "zsh/mapfile"
        | "zsh/mathfunc"
        | "zsh/nearcolor"
        | "zsh/net/socket"
        | "zsh/net/tcp"
        | "zsh/newuser"
        | "zsh/param/private"
        | "zsh/parameter"
        | "zsh/pcre"
        | "zsh/regex"
        | "zsh/rlimits"
        | "zsh/sched"
        | "zsh/stat"
        | "zsh/system"
        | "zsh/termcap"
        | "zsh/terminfo"
        | "zsh/watch"
        | "zsh/zftp"
        | "zsh/zle"
        | "zsh/zleparameter"
        | "zsh/zprof"
        | "zsh/zpty"
        | "zsh/zselect"
        | "zsh/zutil"