Skip to main content

Module keybinds

Module keybinds 

Source
Expand description

Plugin keybinds — registry, parser, and matching for custom keyboard shortcuts.

Plugins declare keybinds in plugin.json. Users override in config. Core keybinds (Ctrl+C, Esc, etc.) are never overridable.

Structs§

KeyCombo
A key combination (modifiers + key).
Keybind
A registered keybind.
KeybindCollision
A keybind that was rejected during plugin registration because the key was already taken. Phase 8 slice 8B.2.
KeybindRegistry
Registry of all keybinds with conflict resolution.
ManifestKeybind
Keybind declaration from plugin.json manifest.

Enums§

KeybindAction
What happens when a keybind fires.
KeybindSource
Where a keybind came from — for conflict resolution and display.

Functions§

format_key
Format a KeyCombo back to notation string (for display).
parse_key
Parse key notation string into a KeyCombo.