Minga.Keymap.Scope.Agent (Minga v0.1.0)

Copy Markdown View Source

Keymap scope for the full-screen agentic view.

Provides vim-like navigation, fold/collapse, copy, search, and panel management bindings. In normal mode, keys like j/k scroll the chat, y/Y copy content, and prefix sequences (z, g, ], [) provide fold, go-to, and bracket navigation.

In insert mode (input field focused), printable characters go to the input field. Ctrl+C submits or aborts, ESC returns to normal mode.

All bindings are declared as trie data and resolved through the scope system. Context-dependent behavior (e.g., y copies a code block normally but accepts a diff hunk during review) is handled by guards on command functions, not separate dispatch paths.