Expand description
The hint registry — the one place that turns a focus/cursor context
into the key hints the status bar shows. Each surface still declares its
own context hints (hint_shortcuts); this module owns the global hints
(always-on actions, right-aligned on status line 1) and the shared Hint
shape. The leader engine and which-key overlay (phases 05/06) will read
from here so hint text never forks from the actual bindings.
Functions§
- global_
hints - The always-on global hints, right-aligned on status line 1: the actions a user must always be able to find regardless of focus.
- hints_
for - Build hints for
(action, label)pairs, dropping actions with no binding.
Type Aliases§
- Hint
- One key hint:
(key combo label, action label). An empty key renders the label alone, emphasized (used by the nvim backend’s mode line).