Emacs build with nix
- Nix 100%
agent-shell binds mode, model, thought level and the rest to C-c sequences in agent-shell-mode-map. The same commands answer to SPC a here: m picks a session mode from what the agent advertises over ACP and M rotates through them, v sets the model, T the thought level, O anything else the agent exposes, x interrupts, and F folds the whole buffer. They have to be bound globally rather than in agent-shell-mode-map, because the SPC block lives in evil's override keymap: key lookup stops at the first map holding the SPC a prefix, so a per-mode entry under that prefix is never reached. The commands guard themselves with derived-mode-p, so pressing them outside a shell says so rather than doing something surprising. Folding a single fragment is za and the whole buffer zA, in normal state, which leaves TAB to agent-shell-next-item as upstream intends. The fold keymap itself is a text property covering only the indicator and its label, so RET over a fold otherwise falls through to shell-maker and submits. Resuming keeps agent-shell-session-strategy at prompt, which lists earlier sessions when a shell starts, and raises the restore verbosity to full so a resumed shell replays the conversation instead of showing only its title. |
||
|---|---|---|
| .envrc | ||
| .gitignore | ||
| config.org | ||
| flake.lock | ||
| flake.nix | ||