This package provides keymap-popup-define, a macro to define a keymap along with popup data and documentation in one place. It is similar to the transient Elisp library, but aims to be simpler to use. Among its features are:
:switchbuffer-local toggle with [on]/[off] display
:keymapsub-menu with stack navigation (q / C-g pops back)
:stay-opencommand executes without dismissing the popup
:inapt-ifgrays out and blocks entries based on a predicate
:c-uprefix argument mode (C-u highlights eligible entries)
:ifconditionally hide entries
:groupdt:rowcolumn layout
keymap-popup-annotateadd popup descriptions to existing keymaps
This library provides the keymap-popup-define macro, which defines a keymap with embedded key descriptions and an interactive popup to display them -- one definition serves both direct key dispatch and a menu interface.