Skip to content

Keybindings ​

This page lists the default keymap as shipped in config/default.toml. Every binding is configurable — see Customizing below and the full Actions reference for the complete set of bindable actions.

The leader key ​

Most actions go through a leader key — Alt by default (keys.leader). How the leader behaves depends on the input mode (input.mode):

  • sticky (default, zellij-style) — hold the leader and press keys; you stay in leader mode for repeatable actions (focus, resize) until you release or press Esc.
  • prefix (tmux-style) — tap the leader once, release, then press the key. One action, then back to normal.
toml
[keys]
leader = "alt"

[input]
mode = "sticky"          # or "prefix"
leader_timeout_ms = 1000 # prefix mode: how long the leader stays armed

Throughout this page, Alt x means "leader + x".

Normal bindings (with leader) ​

KeysActionDescription
Alt nnew_column_rightNew column to the right
Alt dnew_row_belowNew workspace below (with a pane)
Alt Shift+dnew_tile_belowNew stacked tile in the column
Alt xclose_paneClose the focused pane
Alt h / Alt lfocus_left / focus_rightFocus column left / right
Alt j / Alt kfocus_down / focus_upFocus workspace down / up
Alt ← / → / ↓ / ↑focusArrow-key mirror of h / l / j / k
Alt Shift+h / Alt Shift+lmove_pane_left / move_pane_rightMove column within the workspace
Alt Shift+k / Alt Shift+jmove_pane_up / move_pane_downMove the pane to the workspace above / below (creates one at the edge)
Alt renter_mode:resizeEnter resize mode
Alt senter_mode:scrollEnter scroll mode
Alt menter_mode:moveEnter move mode
Alt fcolumn_width_fullFull-width column
Alt =equalize_adjacent_columnsEqualize the active column and its right neighbor
Alt btoggle_broadcastBroadcast input to all panes in the workspace
Alt cconsume_into_columnConsume right neighbor into the column as a tile
Alt eexpel_from_columnExpel the active tile into a new column
Alt otoggle_overviewToggle overview
Alt qdetachDetach (server keeps running)
Alt ptoggle_command_paletteCommand palette
Alt Shift+ptoggle_session_paletteSession / remote-host palette
Alt i / Alt Shift+inext_session / prev_sessionSwitch connection
Alt Shift+nnew_sessionNew session
Alt gtoggle_lockLock (pass all keys through to the terminal)
Alt /toggle_helpKeybindings help overlay

Direct bindings (no leader) ​

These work at any time, without the leader:

KeysAction
Ctrl+Shift+FOpen search
Ctrl+Shift+CCopy selection
Ctrl+Shift+VPaste
Ctrl+GToggle lock
Alt+Shift+H / Alt+Shift+LMove the pane left / right within the workspace
Alt+Shift+K / Alt+Shift+JMove the pane to the workspace above / below (creates one at the edge)

macOS

On macOS the clipboard/search bindings use Cmd instead of Ctrl+Shift: Cmd+F search, Cmd+C copy, Cmd+V paste, plus Cmd+N new pane, Cmd+W close pane, and Cmd+Q quit.

Mouse ​

GestureAction
Click / dragFocus pane, select text (double-click word, triple-click line)
Shift+dragSelect text even when the program in the pane captures the mouse
Ctrl+click a link (Cmd on macOS)Open the URL in the browser, or the file path in $EDITOR
Ctrl+Shift+click a linkSame, inside programs that capture the mouse (vim, lazygit, …)
Right-clickContext menu — includes Open Link / Copy Link when over a link

Links are detected in plain output (http://, https://, www., and file paths such as src/main.rs:42, Program.cs(12,5) or a quoted "C:\Program Files\x\y.rs") as well as explicit OSC 8 hyperlinks, and are underlined on hover. Text glued to either side — markdown [](), backticks, CJK prose or punctuation — is left out, and links that soft-wrap onto the next row are opened whole. File-path links open in $VISUAL/$EDITOR (with --goto/+line for VS Code, Cursor, vim, nvim and helix); when neither is set they are refused rather than handed to the OS, since terminal output could name an executable.

Modes ​

Modes are temporary key tables you enter from the leader. In sticky input, you stay in the mode until you press Esc.

Resize mode ​

Enter with Alt r.

KeyAction
h / lDecrease / increase column width
[ / ]Decrease / increase column width
r / Shift+rCycle preset width (forward / reverse)
fFull width
=Equalize the column and its right neighbor

TIP

The actions tile_height_increase / tile_height_decrease adjust the height of stacked tiles. Bind them in [keys.modes.resize] (e.g. j / k) if you use tiles heavily — see the Actions reference.

Scroll mode ​

Enter with Alt s. Scrolls the focused pane's scrollback.

KeyAction
j / k (or ↓ / ↑)Line down / up
d / uHalf page down / up
f / bPage down / up
g / Shift+gTop / bottom
[ / ]Previous / next prompt (needs shell integration)

Move mode ​

Enter with Alt m. Reposition the focused pane.

KeyAction
h / l (or ← / →)Move column left / right within the workspace
k / j (or ↑ / ↓)Move the pane to the workspace above / below (creates one at the edge)

Overview mode ​

Enter with Alt o.

KeyAction
h / j / k / lFocus left / down / up / right
nNew column
xClose pane
o / Esc / Enter / TabExit overview

Overlay control keys ​

When the search bar, command palette, or paste confirmation dialog is open, these keys apply:

toml
[keys.search_bindings]
escape = "close_search"
enter = "search_next_match"
"shift+enter" = "search_prev_match"
backspace = "text_backspace"
toml
[keys.palette_bindings]
escape = "close_command_palette"
up = "palette_up"
down = "palette_down"
enter = "palette_confirm"
backspace = "text_backspace"
toml
[keys.paste_confirm_bindings]
enter = "confirm_paste"
y = "confirm_paste"
escape = "dismiss_paste_confirm"
n = "dismiss_paste_confirm"

Key syntax ​

  • Modifiers: ctrl+, shift+, alt+, super+ (the macOS Cmd key), combined with + — e.g. "ctrl+shift+f".
  • Named keys: Left, Right, Up, Down, escape, enter, tab, backspace (case-insensitive).
  • Characters: the literal character, e.g. n, /, [.

Actions are referenced by their string name ("focus_left"). Some take an argument: "enter_mode:resize", "switch_workspace_3", "activate_key_table:mytable".

Customizing ​

Bindings live under [keys] in ~/.config/loom/config.toml:

toml
[keys]
leader = "ctrl+a"

[keys.bindings]
n = "new_column_right"
v = "expel_from_column"
# …

Maps are replaced, not merged

Defining a [keys.bindings] table in your config replaces the entire default map — the omitted defaults are not kept. The same applies to [keys.modes.*], [keys.overview_bindings], and the overlay tables. If you want the defaults plus a few changes, copy the whole block from config/default.toml and edit it.

See the Actions reference for every action you can bind, including aliases and the switch_workspace_N / enter_mode:NAME dynamic forms.

Released under the AGPL-3.0-only License.