Key bindings
The file ~/.momonga/keybindings.json changes the keys of the interactive session; /keybindings shows and changes them.
| Action | Where | Default keys | Meaning |
|---|---|---|---|
prompt.submit | chat | enter | send the message or run the command |
prompt.queue | chat | tab | while a run works: queue the message for after this run |
prompt.steer | chat | enter | while a run works: steer the run with the message after the next tool call |
prompt.newline | chat | shift+enter, alt+enter, ctrl+j | new line |
editor.deleteBefore | chat | backspace | delete before the caret |
editor.deleteAfter | chat | delete | delete after the caret |
editor.lineStart | chat | ctrl+a, home | line start |
editor.lineEnd | chat | ctrl+e, end | line end |
editor.left | chat | left | one character left |
editor.right | chat | right | one character right |
editor.wordLeft | chat | alt+left, alt+b, ctrl+left | one word left |
editor.wordRight | chat | alt+right, alt+f, ctrl+right | one word right |
editor.killLineStart | chat | ctrl+u | delete to the line start |
editor.killLineEnd | chat | ctrl+k | delete to the line end |
editor.killWordBefore | chat | ctrl+w | delete the word before the caret |
editor.killWordAfter | chat | alt+d | delete the word after the caret |
editor.yank | chat | ctrl+y | insert the text last deleted |
editor.undo | chat | ctrl+_ | undo |
editor.up | chat | up | line up, then older history |
editor.down | chat | down | line down, then newer history |
history.search | chat | ctrl+r | search the history |
editor.external | chat | ctrl+g | edit the draft in $VISUAL or $EDITOR |
editor.submitValue | select | ctrl+x enter | confirm the value of the structured editor |
transcript.detail | chat | ctrl+o | show or fold the detail |
mode.cycle | chat | shift+tab | cycles the mode |
run.stop | chat | escape | stops the run |
prompt.interrupt | chat | ctrl+c | cancel the run or clear the input; twice on an empty input to exit |
prompt.exit | chat | ctrl+d | twice on an empty input to exit |
prompt.pasteImage | chat | ctrl+v, alt+v | paste an image from the clipboard |
shell.run | shell | enter | run the command |
shell.leave | shell | escape | leave the shell mode |
menu.up | menu | up | move up in the menu |
menu.down | menu | down | move down in the menu |
menu.complete | menu | tab | complete the highlighted command |
menu.run | menu | enter | run the highlighted command |
menu.close | menu | escape, ctrl+c | close the menu |
agents.previous | agents | up | the row above in the list of views; above main, back to the input |
agents.next | agents | down | the row below in the list of views |
agents.open | agents | enter | show the view of the chosen row: main or a running subagent |
select.up | select | up, ctrl+p, k | move up |
select.down | select | down, ctrl+n, j | move down |
select.pageUp | select | pageup | move up by a page |
select.pageDown | select | pagedown | move down by a page |
select.first | select | home | move to the first row |
select.last | select | end | move to the last row |
select.decide | select | enter | choose the highlighted row |
select.escape | select | escape | decline or go back |
select.interrupt | select | ctrl+c | interrupt |
select.alt | select | tab | the second choice of a list that has one |
select.less | select | left | the previous value of the highlighted row of a list whose rows carry one |
select.more | select | right | the next value of the highlighted row of a list whose rows carry one |
select.detail | select | ctrl+o | show all of what is asked |
select.filterBack | select | backspace | delete the last character of the filter |
select.delete | select | delete | delete the highlighted row of a list that has it, after asking |
select.copy | select | ctrl+y | copy the sign-in URL |
viewport.pageUp | viewport | pageup | scroll up half a screen |
viewport.pageDown | viewport | pagedown | scroll down half a screen |
viewport.top | viewport | ctrl+home | go to the top |
viewport.bottom | viewport | ctrl+end, end | go to the bottom |
selection.copy | viewport | ctrl+shift+c | copy the selection |
selection.clear | viewport | escape | clear the selection |
viewer.up | viewer | up | scroll up a line |
viewer.down | viewer | down | scroll down a line |
viewer.pageUp | viewer | pageup | scroll up a page |
viewer.pageDown | viewer | pagedown | scroll down a page |
viewer.first | viewer | home | go to the first line |
viewer.last | viewer | end | go to the last line |
viewer.older | viewer | tab | the next older tool output |
viewer.newer | viewer | shift+tab | the next newer tool output |
viewer.close | viewer | escape | return |
screen.repaint | global | ctrl+l | repaint the screen |
screen.suspend | global | ctrl+z | suspend |