Default shortcuts
The composer also uses readline-style movement: arrows,
Ctrl+A / Ctrl+E for line ends, Alt+Left / Alt+Right for words, Ctrl+W and Ctrl+U / Ctrl+K for deletions.
Overrides
~/.loop/agent/keybindings.json is a flat map. Each entry is an action id and the key that should trigger it:
interrupt, submit, newLine, modelSelect). The reverse form — key as the field name, action as the value — is also accepted. Keys are lowercased; cmd and command mean super, and option means alt.
Those session actions have no default key. Bind them if you want a shortcut besides
/new, /tree, /fork, and /resume.
Double-escape
External editor
Ctrl+G opens the current input in $EDITOR. Save and close the editor to bring the text back.