Keybindings
| File | What it binds | Format |
|---|---|---|
tui.json[c] → keybinds |
All 151 v1 bindings: app, session, prompt, dialogs, leader | v1's binding names and values; shared with v1 |
mbm2.json[c] → keybinds |
The fifteen workspace chords (worker tabs, views) | "<leader>" + one key |
mbm2.json[c] → keybinds |
The panel keys: rag_panel (ctrl+alt+i), packages_panel (ctrl+alt+m), config_panel (ctrl+alt+c), pricing_panel (<leader>p), plugins_panel (ctrl+alt+v), admin_panel (ctrl+alt+a, the account), steps_toggle (ctrl+t, the session steps above the prompt: list or one line) |
Any key, or "none" |
/config |
Both, from inside the client | Writes the files above |
<leader> is ctrl+x by default. Press it, then the next key within leader_timeout
(2000 ms by default). esc cancels a started sequence. Every default key is on the
Shortcut cheat sheet; this page is about changing them.
Binding Names You Will Want
Name in tui.json |
Default | Action |
|---|---|---|
leader |
ctrl+x |
The leader itself |
command_list |
ctrl+p |
Command palette |
app_exit |
ctrl+c,ctrl+d,<leader>q |
Exit |
app_reset_ui |
ctrl+alt+r |
Reset stuck UI |
session_new / session_list |
<leader>n / <leader>l |
New session / session list |
session_fork |
none |
Fork session |
session_compact |
<leader>c |
Compact |
session_export / session_copy |
<leader>x / none |
Export / copy transcript |
session_timeline |
<leader>g |
Jump to a message |
session_rename / session_delete |
ctrl+r / ctrl+d |
Rename / delete (session list) |
session_interrupt |
escape |
Interrupt the turn |
session_share / session_unshare |
none |
Share / unshare |
messages_copy |
<leader>y |
Copy the last reply |
messages_undo / messages_redo |
<leader>u / <leader>r |
Undo / redo a message |
messages_page_up / messages_page_down |
pageup,ctrl+alt+b / pagedown,ctrl+alt+f |
Scroll a page |
messages_first / messages_last |
ctrl+g,home / ctrl+alt+g,end |
First / last message |
model_list / agent_list |
<leader>m / <leader>a |
Model / agent list; an agent a worker runs is pm → tab and goes to that worker's tab |
agent_cycle / agent_cycle_reverse |
tab / none |
With a suggested next message on the empty prompt, tab takes it first (Prompt); otherwise next / previous agent, passing over the agents another worker's tab runs (plain shift+tab switches tabs; bind it here to get the old reverse cycle back) |
model_cycle_recent |
f2 |
Next recent model |
model_cycle_favorite |
none |
Next favourite model |
variant_cycle |
ctrl+alt+w |
Next model variant. v1 uses ctrl+t; in mbm2 ctrl+t is the session steps' list/one-line switch (steps_toggle in mbm2.json), as in Claude Code |
editor_open |
<leader>e |
Prompt in $EDITOR |
theme_list / status_view / sidebar_toggle |
<leader>t / <leader>s / <leader>b |
Themes / status / sidebar |
display_thinking / tool_details |
none |
Show or hide thinking / tool details |
input_submit / input_newline |
return / shift+return,ctrl+return,alt+return,ctrl+j |
Send / new line |
input_clear / input_paste |
ctrl+c / ctrl+v |
Clear / paste the clipboard (an image first, else text) into the prompt |
permission.prompt.fullscreen |
ctrl+f |
Full-screen permission prompt |
tips_toggle |
<leader>h |
Tips on the home screen |
which_key_toggle |
ctrl+alt+k |
Which-key panel |
terminal_suspend |
ctrl+z |
Suspend (always off on Windows) |
/config → tui.json settings → Keybindings lists all 151 names with the value in force.
Rebind A v1 Binding
Add a keybinds object to tui.json (global: ~/.config/mbm/tui.json):
{
"keybinds": {
"leader": "ctrl+o",
"session_fork": "<leader>o",
"messages_copy": ["<leader>y", "ctrl+y"],
"tips_toggle": "none"
}
}
| Value | Meaning |
|---|---|
"ctrl+q" |
One key |
"ctrl+q,alt+q" or ["ctrl+q", "alt+q"] |
Several keys for one action |
"<leader>n" |
A leader sequence |
"none" or false |
Remove the default; the action stays in the palette |
{ "key": "alt+p", "preventDefault": false } |
A binding with flags |
| Rule | Detail |
|---|---|
| Names | The config names are snake_case (session_compact, command_list) or dotted for dialog groups (dialog.select.prev) |
| Changing the leader | leader is itself a binding; every <leader> sequence follows it, the workspace chords included |
| Unknown name | mbm2 logs a warning (keybinds) and ignores that one entry. v1 rejects the whole tui.json for the same mistake, so fix it if you also run v1 |
| Layers | Global and project files merge key by key (Configuration) |
| Windows | terminal_suspend is always off, and input_undo also takes ctrl+z |
Example: quit only on purpose
app_exit includes ctrl+c and ctrl+d by default. ctrl+c is gentle: while the agent works it
interrupts (as esc), and otherwise the first press shows Press ctrl+c again to quit and a second
within 3 s quits; ctrl+d on an empty prompt quits at once. No exit key quits while the prompt holds
text: ctrl+c clears it first, ctrl+d deletes forward, and <leader>q is ignored. To quit only with
the leader:
{ "keybinds": { "app_exit": "<leader>q" } }
ctrl+c and ctrl+d then no longer quit; <leader>q and /exit still do.
Example: send with ctrl+return, new line with return
{ "keybinds": { "input_submit": "ctrl+return", "input_newline": "return,shift+return,ctrl+j" } }
Check that your terminal reports ctrl+return; many send plain return, and then nothing would
send. Unverified: which terminals report it.
Workspace Chords
They work in every project; most matter once it has workers (Workers).
Action name (mbm2.json[c]) |
Default | Action |
|---|---|---|
workspace_tab_next |
<leader>tab, and plain shift+tab |
Next tab |
workspace_tab_prev |
<leader>shift+tab |
Previous tab |
workspace_tab_1 through workspace_tab_9 |
<leader>1 through <leader>9 |
Jump to the numbered tab; no action if it does not exist |
workspace_tab_last |
<leader>0 |
Jump to the last open tab |
workspace_open |
<leader>w |
Worker picker |
workspace_close |
<leader>shift+w |
Close tab |
workspace_handoff |
<leader>f |
Hand off text |
workspace_board |
<leader>k |
Task board |
workspace_pipeline |
<leader>j |
Start or advance the pipeline |
workspace_needs |
<leader>i |
Needs you: everything that waits for you, from any tab (terminal tabs and an open dialog included) |
workspace_team |
<leader>shift+i |
Team messages: approve, drop, auto on/off |
workspace_overview |
<leader>o |
Workers overview |
workspace_split_right |
<leader>\ |
Split right |
workspace_split_below |
<leader>- |
Split below |
workspace_pane_next |
<leader>] |
Next pane |
workspace_pane_prev |
<leader>[ |
Previous pane |
workspace_unsplit |
<leader>shift+x |
End the focused tab's split: its pane closes and stays a tab, the other pane takes the focus |
workspace_rename |
<leader>shift+r |
Rename the focused worker |
workspace_tab_left |
<leader>shift+left |
Move the focused tab one place left (main stays first; a split pair moves as one) |
workspace_tab_right |
<leader>shift+right |
Move the focused tab one place right. With the mouse: press a tab and drag it over another tab to put it there; the order is kept across restarts |
Rebind them in ~/.config/mbm/mbm2.json (or a project .mbm/mbm2.json[c]):
{
"keybinds": {
"workspace_board": "<leader>p",
"workspace_tab_next": "<leader>."
}
}
| Rule | Detail |
|---|---|
| Shape | Exactly <leader> followed by one key, no spaces or commas |
| Duplicates | Two actions on one key reject the file |
| A rebound key that another action has by default | The rebound action wins; the other action loses its chord |
| Leader collision | A workspace chord is checked first: if you bind a v1 action to the same <leader> key (for example session_compact to <leader>k), the workspace action runs |
| Fixed keys | alt+1 … alt+9 (jump) and <leader><leader> (literal leader in a terminal tab) are not rebindable |
| In the client | /config → Workspace keys: choose an action, then press the key to use after the leader (esc cancels). A key another action already has is refused (<leader>k is already Task board). Writes the global mbm2.json[c]; applies on the next start |
Non-Latin Keyboard Layouts
With a Mongolian or Russian Cyrillic layout active, a ctrl/alt key matches the binding of the
key in the same place on the US layout, so you do not switch layouts to use the leader:
| You press (Cyrillic layout) | Same place on the US layout | Runs |
|---|---|---|
ctrl+ч |
ctrl+x |
The leader |
ctrl+з |
ctrl+p |
Command palette |
| Rule | Detail |
|---|---|
| Needs | A terminal that reports alternate keys (the kitty keyboard protocol: kitty, WezTerm, foot, Ghostty and others). Unverified: which terminals report them; without it the fallback does not happen |
| Your own binding wins | A binding that names the Cyrillic key itself ("ctrl+ч") is used before the fallback |
| Plain letters after the leader | Arrive as text, with no fallback: <leader>т is not <leader>n. Press the leader's second key on the US layout, or use an alias for whole words (/alias) |
| Latin layouts | Dvorak and other Latin layouts keep their own key names: a Dvorak ctrl+x is ctrl+x |
Mouse
| Where | Click | Other |
|---|---|---|
| Worker tab bar | A tab's label focuses it; its × closes it (a working tab asks first) |
— |
| Dialog lists | A row picks it; a click outside the panel or on its esc hint closes the dialog |
Hover highlights the row; the wheel scrolls |
| Permission and question prompts | An option answers as return would; a question tab selects it |
Hover highlights |
| Transcript | Cut tool output expands; a task opens its subagent session; your own message opens Message Actions; the revert box asks Confirm Redo |
Hover tints them |
| Prompt | Places the cursor (inside a file, paste or image label: at its nearer edge) | Drag selects |
| Sidebar | A section heading folds it; +N more expands the files; a folder heading folds it; the pager ‹ › turns a page |
The wheel and pgup/pgdn move the files only, and only with the pointer over them (The right column) |
| Toast | A cut message's copy word copies it all; a drag inside takes the toast's text only |
c while the pointer is over a cut toast copies it; a toast stays while the pointer is over it (What a drag selects) |
| Subagent footer | Parent, Prev, Next move between sessions |
— |
| Anywhere | Drag to select inside the paragraph, table cell, code block, prompt, sidebar section or dialog pressed on; releasing copies when copy_on_select is on |
With it off, a right mouse-down or ctrl+c copies the selection; esc clears it |
| Text | Double-click selects a word; triple-click a paragraph or a line of code | The drag never takes the ┃ bar, the sidebar or the other split pane (What a drag selects) |
"mouse": false in tui.json, or MBM_DISABLE_MOUSE=1, turns all of this off and leaves
selection to your terminal.
Terminal Keys
Inside an attached terminal, ctrl+] detaches and ctrl+\ closes; every other key goes to the
shell. These two are fixed (Terminal).
Published from revision f88fc66f 2026-11-30