MomongaCode

Key bindings

The file ~/.momonga/keybindings.json changes the keys of the interactive session; /keybindings shows and changes them.

ActionWhereDefault keysMeaning
prompt.submitchatentersend the message or run the command
prompt.queuechattabwhile a run works: queue the message for after this run
prompt.steerchatenterwhile a run works: steer the run with the message after the next tool call
prompt.newlinechatshift+enter, alt+enter, ctrl+jnew line
editor.deleteBeforechatbackspacedelete before the caret
editor.deleteAfterchatdeletedelete after the caret
editor.lineStartchatctrl+a, homeline start
editor.lineEndchatctrl+e, endline end
editor.leftchatleftone character left
editor.rightchatrightone character right
editor.wordLeftchatalt+left, alt+b, ctrl+leftone word left
editor.wordRightchatalt+right, alt+f, ctrl+rightone word right
editor.killLineStartchatctrl+udelete to the line start
editor.killLineEndchatctrl+kdelete to the line end
editor.killWordBeforechatctrl+wdelete the word before the caret
editor.killWordAfterchatalt+ddelete the word after the caret
editor.yankchatctrl+yinsert the text last deleted
editor.undochatctrl+_undo
editor.upchatupline up, then older history
editor.downchatdownline down, then newer history
history.searchchatctrl+rsearch the history
editor.externalchatctrl+gedit the draft in $VISUAL or $EDITOR
editor.submitValueselectctrl+x enterconfirm the value of the structured editor
transcript.detailchatctrl+oshow or fold the detail
mode.cyclechatshift+tabcycles the mode
run.stopchatescapestops the run
prompt.interruptchatctrl+ccancel the run or clear the input; twice on an empty input to exit
prompt.exitchatctrl+dtwice on an empty input to exit
prompt.pasteImagechatctrl+v, alt+vpaste an image from the clipboard
shell.runshellenterrun the command
shell.leaveshellescapeleave the shell mode
menu.upmenuupmove up in the menu
menu.downmenudownmove down in the menu
menu.completemenutabcomplete the highlighted command
menu.runmenuenterrun the highlighted command
menu.closemenuescape, ctrl+cclose the menu
agents.previousagentsupthe row above in the list of views; above main, back to the input
agents.nextagentsdownthe row below in the list of views
agents.openagentsentershow the view of the chosen row: main or a running subagent
select.upselectup, ctrl+p, kmove up
select.downselectdown, ctrl+n, jmove down
select.pageUpselectpageupmove up by a page
select.pageDownselectpagedownmove down by a page
select.firstselecthomemove to the first row
select.lastselectendmove to the last row
select.decideselectenterchoose the highlighted row
select.escapeselectescapedecline or go back
select.interruptselectctrl+cinterrupt
select.altselecttabthe second choice of a list that has one
select.lessselectleftthe previous value of the highlighted row of a list whose rows carry one
select.moreselectrightthe next value of the highlighted row of a list whose rows carry one
select.detailselectctrl+oshow all of what is asked
select.filterBackselectbackspacedelete the last character of the filter
select.deleteselectdeletedelete the highlighted row of a list that has it, after asking
select.copyselectctrl+ycopy the sign-in URL
viewport.pageUpviewportpageupscroll up half a screen
viewport.pageDownviewportpagedownscroll down half a screen
viewport.topviewportctrl+homego to the top
viewport.bottomviewportctrl+end, endgo to the bottom
selection.copyviewportctrl+shift+ccopy the selection
selection.clearviewportescapeclear the selection
viewer.upviewerupscroll up a line
viewer.downviewerdownscroll down a line
viewer.pageUpviewerpageupscroll up a page
viewer.pageDownviewerpagedownscroll down a page
viewer.firstviewerhomego to the first line
viewer.lastviewerendgo to the last line
viewer.olderviewertabthe next older tool output
viewer.newerviewershift+tabthe next newer tool output
viewer.closeviewerescapereturn
screen.repaintglobalctrl+lrepaint the screen
screen.suspendglobalctrl+zsuspend