Skip to main content
The mux is the F[no] terminal multiplexer. It keeps agent sessions in panes and places fleet views beside them. Use this guide to choose a key preset, check your active keys, and resize splits.
Note: This page describes F[no] 0.4.9. In 0.4.9, B opens the backlog board, H opens HQ, and = cycles the sideline density. Before 0.4.9, B cycled the density. The old keys O (backlog) and G (HQ) still work in 0.4.9. The next release removes them.

Before you start

Install F[no] through the quickstart. Open the mux with an agent session, as described in Run a fleet. The prefix introduces a mux shortcut. Its default is ctrl+b. To use another key, see Set the prefix. In this guide, prefix+? means press the prefix, release it, then press ?. Uppercase letters mean uppercase keys.

Find the active keys

  1. Focus the view whose keys you need.
  2. Press prefix+? to show that view’s keys as a footer grid.
  3. Press * without the prefix to open the full keybindings table.
  4. Read your current bindings in the table.
  5. Press Esc to close the table.
On the agents view, the footer names the prefix once, on its first line: ctrl+b, then:. Press the prefix before each key below that line. The * cell is the exception: while the footer is open, press * alone. If you change a key or the prefix, the footer shows the new key. Agents view footer: the line ctrl+b, then: above i new session, B backlog, M messages, H HQ, and the other keys Press Esc or ? to close the footer without opening the table. Below 40 columns or 16 rows, prefix+? opens the full table directly. If the full table opens directly, skip * in the steps below. You can also click the sideline footer’s menu button and select keybindings. Mux keybindings table showing the ctrl+b prefix, the keybindings.json path, and the global keys, with H for HQ and B for the backlog board The table spells every key in one form: lowercase, joined with +. For example, it shows ctrl+opt+left, ctrl+arrows, and pgup. You can copy a key from the table into keybindings.json. These are the built-in defaults. Under "preset": "tmux", z, o and l move to zoom, next pane and last tab. If you change the preset or add entries, check the live table. In 0.4.9, O also opens the backlog board and G also opens HQ. The table labels them “the old key (goes away next release)”. Use B and H instead. The sideline is the panel beside the terminal panes. find searches across the mux. selector moves through the sideline’s own rows.

Key presets

A preset is a named set of mux keys. Since F[no] 0.4.6, ~/.fno/keybindings.json holds the preset and your key overrides. It is one flat JSON object. The reserved "preset" key accepts "tmux" or "zellij". Without a preset, the mux keeps its built-in keys, so z, o and l keep their F[no] actions. Under "preset": "tmux", z zooms the pane, o walks to the next pane, and l returns to the last tab. The three F[no] actions move to free keys: cycle-section to u, sort-agents to Q, and focus-right to _. The file sits beside the global config.toml. If FNO_GLOBAL_SETTINGS_PATH selects another global TOML file, keybindings.json sits beside that file. The full keybindings table shows the file path. Both presets use ctrl+b unless you change mux.prefix in config.toml. See Set the prefix. Your action entries override the preset. An entry replaces the preset key for that action. If your entry claims another action’s preset key, the mux removes that preset binding. An unknown preset name reports a warning and keeps the built-in keys. Your action entries still apply. The old mux.preset and [mux.keys] settings in config.toml no longer control keys once the JSON file exists. Without a JSON file, the mux migrates them to keybindings.json on its next read. It prints a notice to remove the old settings. Once the JSON file exists, the mux ignores those old settings and names the JSON file to edit. If FNO_CONFIG selects a config file, the mux does not migrate its settings. It reads those legacy settings only while keybindings.json is absent. An existing JSON file takes precedence even with FNO_CONFIG set.

Choose the Zellij preset

What the agent runs

The agent edits the file shown in the full keybindings table. To show that table, press prefix+?, then *. A file with no custom bindings needs only:
keybindings.json
For an existing file, the agent changes only "preset" and keeps your action entries. To reload and check:
  1. Open the full table with prefix+?, then *.
  2. Select edit keys, then exit the editor to reload the keys.
  3. Check that split-right uses r and split-down uses d, unless your custom bindings override them.
  4. Press Esc to close the table.
To return to the tmux preset, ask the agent to set "preset" to "tmux" in the same JSON file. z, o and l take the tmux meanings, and the three F[no] actions move to u, Q and _. Reload through the editor again.

Where the tmux preset matches

This table compares the tmux preset with tmux 3.8’s default prefix table. A tmux window corresponds to a mux tab. Every key below follows the prefix. The tmux preset leaves the keys in the Differs rows alone: their actions have no tmux twin. To put the tmux meaning on one of those keys, add your own entry to keybindings.json.

Zellij key map

Zellij uses modes with separate keys. F[no] uses one prefix and one shared set of keys. The zellij preset maps these pane actions: The preset also moves rerun-block from r to u. These differences remain:
  • Zellij tab-mode letters reuse pane-mode letters. Tabs keep c, &, ,, p, and n for new, close, rename, previous, and next.
  • Resize and move modes do not map. Resize keeps J K L and the resize chord. Resize left has no letter by default.
  • Fullscreen, floating panes, stacked panes, and pane frames have no equivalent chord.
  • Zellij modes do not exist in this mux. There is no locked mode or mode line.

Change a binding

  1. Press prefix+?, then *, to open the full keybindings table.
  2. Select edit keys to open keybindings.json in $EDITOR. Without $EDITOR, the mux uses vi.
  3. Give the "selector" entry the semicolon key, or add that entry to the existing JSON object.
For a tmux preset with only this override, the file reads:
keybindings.json
Keep your current preset and any other action entries. Do not add a [mux.keys] table or a nested JSON object.
  1. Save the file and exit the editor. The mux reloads the keys.
  2. Check that the selector row shows the semicolon key and the yours tag.
  3. Press Esc to close the table.
  4. Press the prefix, then the semicolon key, to open the selector.
An action uses its action ID, such as selector. toggle-sideline changes visibility and is a different action. The table tags changed preset keys as preset and your changed keys as yours. Built-in keys have no tag. Keys accept one printable ASCII character or a control letter, such as ctrl+a, C-a, or ^a. The prefix is not in keybindings.json. To change it, see Set the prefix. After applying preset precedence, the resolver checks the remaining bindings. It refuses unknown actions, key collisions, and the prefix byte as an action key. Digits 1 through 9 select tabs and cannot be rebound. Enter and Tab cannot be the prefix or an action key. The resolver also refuses their aliases ctrl+m, ctrl+j, and ctrl+i. The mux reports rejected entries. A rejected action entry keeps its default key. Check the live table after a refusal.

Clear a binding override

What the agent runs

The agent removes the "selector" property from the JSON file shown in the full keybindings table. It keeps the JSON valid, including commas between the remaining properties. Do not use fno config unset mux.keys.selector for the JSON file. After the agent removes the override:
  1. Open the full table with prefix+?, then *.
  2. Select edit keys, then exit the editor to reload the keys.
  3. Check the selector row. Without another entry that claims w, it returns to prefix+w in either preset.
  4. Press Esc to close the table.

Set the prefix

The prefix is mux.prefix in config.toml, in the [mux] table. It accepts a control letter such as ctrl+a, one printable key, or an Alt key such as alt+a or alt+shift+a:
config.toml
An Alt prefix works the way it does in tmux. The terminal sends Esc, then the key, and the mux reads the pair as one key. A lone Esc still reaches the pane after a short wait. Keys after the prefix stay single keys. The mux does not add Alt chords after the prefix. The mux refuses three Alt prefixes. alt+[ and alt+shift+o start terminal escape sequences. alt+ with a digit selects a tab. For a refused prefix, the mux keeps ctrl+b and reports the reason. On macOS, Terminal.app and iTerm2 send a composed character for Option, such as å for Option+a. Set Option to act as Meta or Esc+ in the terminal profile, then write alt+a. To check the prefix, focus the agents view, press the prefix, then press ?. The footer’s first line shows the prefix in force: Agents view footer with an Alt prefix: the first line reads alt+shift+a, then:

Resize a split

  1. Find the split’s edge in the table below.
  2. Press the edge with the left mouse button.
  3. Drag the edge to the size you want.
  4. Release the mouse button.
To resize with keys:
  1. Focus the view you want to resize.
  2. Find its keyboard action in the table below.
  3. Press the listed keys. For a resize chord, press the prefix, then ctrl+arrow or ctrl+opt+arrow.
  4. Check that the size changed.
Both presets use the same resize chord: the prefix followed by ctrl+arrow or ctrl+opt+arrow. The arrow moves the visible view’s edge. Otherwise, the chord resizes the tiled panes. The tiled panes also have letter keys: J, K and L resize down, up and right. Resize left has no letter by default, because H opens HQ. To give it one, add a "resize-left" entry to keybindings.json, as in Change a binding. The density button sits on the sideline’s top row. It cycles slim, regular, and extended layouts, which also change the width. In Messages, focus the tree column to move its right edge. The participants and thread columns move the edge between them. Split sizes have minimum bounds. A drag stops before it hides a pane. A smaller terminal clamps held sizes to the available space. The new backlog, Messages, org, and reply dock sizes last for the session. During those edge drags, Esc restores the original size. The notifications width persists across restarts.

Next steps