Obsctl::TUI::Keymap
The multi-key half of the dashboard keymap, in the shape an AstroNvim user
already has in their fingers: a leader key that opens a which-key menu,
g for goto motions, and Ctrl-w for window moves.
Single-key bindings stay in Input because they resolve without any
pending state. Everything here is a sequence, so it lives in one table
that both the resolver and the which-key panel read — a binding cannot be
dispatchable but missing from the menu, or listed but unbound.
Constants
Titles for the prefixes that are groups rather than commands.
Space, the AstroNvim leader. Written as a token so sequences read the way they do in a Neovim config rather than starting with a space.
Instance methods
The action a completed sequence runs, or nil when it is not a binding.
Every key that can follow pending, for the which-key panel and for
clicks on it. Sorted so the menu order is stable between frames.
True when at least one binding continues past sequence, which is what
makes a key worth holding onto instead of discarding.
The key token for a press, or nil for keys that never start a sequence.