Per-editor input configuration and transient interaction history.
The value owns editing-model selection, isolated keymap/options services, layered focus routing, and keystroke history used by input diagnostics.
Summary
Functions
Commits keystroke history produced by the input recorder.
Removes an input handler from the focus route.
Pushes an input handler unless it already owns focus.
Creates interaction state from startup configuration.
Types
@type editing_model() :: :vim | :cua
@type t() :: %MingaEditor.State.Interaction{ editing_model: editing_model(), focus_stack: [module()], keymap_server: Minga.Keymap.server(), keystroke_history: MingaEditor.KeystrokeHistory.t(), options_server: Minga.Config.Options.server() }
Functions
@spec accept_keystroke_history(t(), MingaEditor.KeystrokeHistory.t()) :: t()
Commits keystroke history produced by the input recorder.
Removes an input handler from the focus route.
Pushes an input handler unless it already owns focus.
Creates interaction state from startup configuration.