Skip to content

Configuration Reference ​

Complete reference for ~/.config/loom/config.toml, generated from the config schema. The schema is the ultimate source of truth — if anything here drifts, trust the code:

All sections are optional; omitted fields fall back to the defaults below. For a friendly introduction see Configuration.

Sections at a glance ​

SectionPurpose
[font]Font family, size, OpenType features, metrics
[appearance]Padding, borders, focus ring, background image, opacity
[animation]Animation toggle, speed preset, pane open style
[window]Initial window size and title
[terminal]Cursor, shell, scrollback, selection, bell
[statusbar]Status bar position and spacing
[tabbar]Pane-tab placement and sizing
[input]Input mode, leader timing, scroll/mouse
[render]GPU backend, present mode, alpha blending
[layout]Column widths, new-pane sizing, centering
[gesture]Touchpad gestures and smooth scroll
[remote]Remote attach listener and saved hosts
[session]Agent restore on reattach
[server]Daemon idle timeout
[prediction]Mosh-style predictive echo
[web]Browser gateway
[peer]Name of this machine for loomtty peer
[run]Session and log retention for loomtty run
[keys]Leader and keybindings
[theme]Colors and presets

[font] ​

KeyTypeDefaultDescription
familystringplatform¹Terminal font family (monospace).
sizefloat10.0Font size in points. Range 1.0–200.0.
uitablenoneOptional UI font override ({ family, size }); may be proportional. When unset, the UI reuses the terminal font.
featuresstring[][]OpenType feature toggles, HarfBuzz/CSS syntax: "liga", "+ss01", "-calt", "zero=1".
disable_ligaturesenumneverWhen to suppress ligatures: never / cursor (cursor row only) / always.
weightintautoPreferred OpenType weight 100–1000. Unset picks the closest-to-400 face.
adjust_cell_widthfloat1.0Cell-width multiplier. Range 0.5–3.0.
adjust_cell_heightfloat1.0Cell-height multiplier. Range 0.5–3.0.
adjust_underline_positionfloat0.0Pixel offset for the underline (positive = lower).
adjust_underline_thicknessfloat1.0Underline thickness multiplier. Range 0.0–16.0.
adjust_strikethrough_positionfloat0.0Pixel offset for the strikethrough.
adjust_strikethrough_thicknessfloat1.0Strikethrough thickness multiplier. Range 0.0–16.0.

¹ Default family is Menlo on macOS, Consolas on Windows, monospace elsewhere.

toml
[font]
family = "JetBrains Mono"
size = 12.0
features = ["+ss01", "-calt"]
disable_ligatures = "cursor"

[font.ui]
family = "Inter"
size = 10.0

[appearance] ​

KeyTypeDefaultDescription
paddingfloat4.0Inner padding around pane content (px).
column_gapfloat4.0Gap between columns (px).
border_widthfloat2.0Pane border width (px). Min 0.0.
active_border_colorstring""Override focused border color (empty → theme).
inactive_border_colorstring""Override unfocused border color (empty → theme).
inactive_opacityfloat0.7Opacity of unfocused panes. Range 0.0–1.0.
pane_corner_radiusfloat0.0Corner radius for panes (px). 0 = sharp corners. Range 0.0–64.0.
background_imagestring""Path to a background image (PNG/JPEG). Supports ~, absolute, and config-relative paths. Empty = solid fill.
background_dimfloat0.0Dim over the background image. 0 = full strength, 1 = hidden. Range 0.0–1.0.
pane_opacityfloat1.0Pane background opacity; lower values let the background image show through. Range 0.0–1.0.

[appearance.focus_ring] ​

KeyTypeDefaultDescription
styleenumsolidsolid / glow / dashed.
glow_radiusfloat4.0Glow radius (px), glow style.
glow_layersint3Number of glow layers, glow style.
dash_lengthfloat8.0Dash length (px), dashed style.
gap_lengthfloat4.0Gap length (px), dashed style.

[animation] ​

KeyTypeDefaultDescription
enabledbooltrueMaster animation toggle.
presetenumdefaultSpeed preset: snappy (~0.3s) / default (~0.5s) / smooth (~0.7s) / gentle (~1.0s).
pane_open_styleenumfadefade / slide-up / slide-down / slide-left / fade-slide-up.
overview_zoom_fitfloat0.9Zoom-to-fit factor in overview. Range 0–1.
zoom_thresholdfloat0.99Zoom threshold below which overview thumbnails render. Range 0–1.
drag_opacityfloat0.6Opacity of a pane while being dragged. Range 0–1.

[window] ​

KeyTypeDefaultDescription
widthfloat1024.0Initial window width (px).
heightfloat768.0Initial window height (px).
titlestring"loomtty"Window title.

[terminal] ​

KeyTypeDefaultDescription
default_colsint80Initial columns. Min 1.
default_rowsint24Initial rows. Min 1.
cursor_colorstring"#E6E6E6"Cursor color (hex).
cursor_opacityfloat0.7Cursor opacity. Range 0.0–1.0.
cursor_blinkbooltrueWhether the cursor blinks.
cursor_blink_interval_msint500Blink interval (ms). Min 1.
cursor_shapestring"beam"block / beam / underline / hollow_block; empty = follow the app.
shellstring""Shell to spawn. Empty = platform default ($SHELL / cmd.exe).
scrollback_linesint10000Scrollback buffer size. Min 1.
copy_on_selectboolfalseCopy to clipboard on selection.
clear_selection_on_typebooltrueClear the selection when you type.
notify_command_threshold_secsint0Notify when a command runs longer than this (secs). 0 = off. Needs shell integration.
bell_audiostring""Path to an audio file played on the terminal bell.
bell_urgencybooltrueSet the window urgency hint on bell.
paste_warn_thresholdint5000Warn before pasting more than this many bytes.

[statusbar] ​

KeyTypeDefaultDescription
positionenumtoptop / bottom.
padding_ratiofloat0.25Vertical padding as a ratio of text height. Min 0.0.
text_baselinefloat0.8Text baseline position within the bar.
leader_indicator_ratiofloat0.1Size of the leader indicator.
height_paddingfloatautoOptional extra bar height (px).

[tabbar] ​

Controls the per-pane tab strip.

KeyTypeDefaultDescription
positionenumintegratedintegrated (inside the status bar) / left / right (a dedicated side bar).
widthfloat200.0Side-bar width (px), left/right only. Range 40–800.
tab_heightfloat36.0Per-tab height (px), left/right only. Range 12–200.
tab_gapfloat4.0Gap between tabs (px), left/right only. Range 0–40.
pane_tab_width_charsint25Per-tab width in characters, integrated only. Range 4–80.

[input] ​

KeyTypeDefaultDescription
modeenumstickysticky (zellij-style hold) / prefix (tmux-style tap). See Keybindings.
leader_timeout_msint1000How long the leader stays armed in prefix mode (ms).
double_tap_window_msint300Double-tap detection window (ms).
scroll_multiplierfloat50.0Mouse-wheel scroll multiplier.
focus_follows_mouseboolfalseFocus the pane under the pointer.

[render] ​

KeyTypeDefaultDescription
backendenumautoGPU backend: auto (platform default) / blade (Vulkan/Metal/DirectX 11) / gl (OpenGL).
present_modeenumfifofifo (vsync) / mailbox / immediate.
alpha_blendingenumplatform²native (sRGB) / linear / linear-corrected.
softnessfloat0.0Post-process softness 0–1. 0 = off. GL backend + linear blending only.
frame_interval_msint16Target frame interval (ms). Min 1.
frame_latencyint2Frames of GPU latency to allow.
atlas_sizeint2048Glyph atlas texture size (px).
max_glyph_instancesint32768Glyph instance buffer capacity.
max_rectanglesint8192Rectangle instance buffer capacity.

² Default alpha_blending is linear-corrected on Linux/Windows, native on macOS.

[layout] ​

KeyTypeDefaultDescription
new_pane_sizingenumfixedfixed (constant width) / dynamic (full below a width threshold, else half).
new_pane_widthenumhalfIn fixed mode: half or full viewport width.
dynamic_fullscreen_max_widthfloat1000.0In dynamic mode: window width (px) below which new panes open full-width.
default_column_widthpreset³nonePower-user override: force every new column to a fixed width. Wins over the new_pane_* policy.
preset_widthspreset³[]⅓, ½, ⅔, fullWidths cycled by cycle_preset_width in resize mode.
center_focused_columnenumnevernever (minimal scroll) / on-overflow (PaperWM-style) / always.

³ A preset width is { proportion = 0.5 } (fraction of the viewport) or { fixed = 600.0 } (pixels).

toml
[layout]
new_pane_sizing = "dynamic"
dynamic_fullscreen_max_width = 1100.0
center_focused_column = "on-overflow"
preset_widths = [
  { proportion = 0.333 },
  { proportion = 0.5 },
  { proportion = 0.667 },
  { proportion = 1.0 },
]

[gesture] ​

KeyTypeDefaultDescription
enabledbooltrueEnable touchpad gestures.
pinch_sensitivityfloat2.0Pinch-to-zoom sensitivity.
natural_scrollbooltrueNatural (reversed) scroll direction.
vertical_swipe_thresholdfloat50.0Vertical swipe activation distance.
horizontal_swipe_thresholdfloat50.0Horizontal swipe activation distance.
smooth_scrollbooltrueSmooth (pixel) scrolling.
scroll_pixels_per_linefloat20.0Touchpad travel per scrolled line when smooth_scroll is on, in logical pixels (scaled by the display's scale factor).

[remote] ​

KeyTypeDefaultDescription
enabledboolfalseServer: listen for remote attach connections (on 127.0.0.1, for SSH tunnels).
portint7890Server: listener port.
transportstring"auto"Client: data path for remote hosts — "auto" (try UDP, fall back to SSH), "kcp" (UDP only), "ssh" (never UDP).
kcp_punch_timeout_msint3000Client: how long to try to establish the UDP path (500–30000).
hoststable[][]Saved hosts shown in the session palette.

Each entry in hosts is:

KeyTypeDefaultDescription
namestring—Display name in the palette.
hoststring—Hostname or IP.
portint7890Remote loomtty port.
ssh_portint22SSH port for the tunnel.
transportstring—Optional per-host override of [remote] transport.
udp_hoststring""Optional address to send UDP to when the SSH host name is not reachable over UDP (jump hosts, ProxyCommand). Empty = the host ssh connects to.
repostable{}loomtty run --tree targets on this host, one [remote.hosts.repos.<name>] table per repository (see below).

Each [remote.hosts.repos.<name>] table describes where loomtty run --tree delivers the repository <name> (by default the directory name of the local repository root) on that host. Paths are on the remote host.

KeyTypeDefaultDescription
repostring—Absolute path of any clone of the project on the host. The working tree is pushed into it; build directories are its linked worktrees.
buildsstring—Absolute path of the parent directory of the build directories, one per tree name.
envtable{}Extra environment variables for runs in this repository, applied before --env from the command line.

repo and builds must be absolute paths on the host (/..., X:/..., X:\... or \\server\share\...; not ~ or relative), and must not contain a newline, NUL or single quote.

toml
[[remote.hosts]]
name = "build"
host = "build.example.com"

[remote.hosts.repos.myproject]
repo = "C:/src/myproject"
builds = "D:/builds/myproject"
env = { CARGO_TARGET_DIR = "D:/builds/myproject/target" }

A shared CARGO_TARGET_DIR like the one above is only safe for build tools that lock their cache themselves (Cargo does): runs with different tree names enter it at the same time.

[remote.kcp] ​

Server-side settings for the encrypted UDP (KCP) data path. Nothing listens on UDP unless enabled = true (and [remote] enabled = true).

KeyTypeDefaultDescription
enabledboolfalseOffer the UDP transport to remote clients.
bindstring""IPv4 address to bind; empty = all IPv4 interfaces. Set it to one interface (e.g. a VPN address) to limit exposure.
udp_portint0UDP port; 0 = OS-assigned at server start. Fix it only if you want an explicit firewall rule.
dup_delay_msint15Small datagrams are sent a second time after this delay (0–200; 0 disables duplication).
dup_max_bytesint300Only datagrams with at most this much payload are duplicated (0–1166).
toml
[remote]
enabled = true
port = 7890

[remote.kcp]
enabled = true

[[remote.hosts]]
name = "devbox"
host = "dev.example.com"
ssh_port = 22
transport = "auto"

See Remote & Predictive Echo.

[session] ​

KeyTypeDefaultDescription
restore_agentsbooltrueDetect and auto-resume AI agent panes (Claude Code, Codex, opencode, Droid) on restart.
agent_save_interval_secsint30Agent-state autosave interval (secs).

[server] ​

KeyTypeDefaultDescription
idle_timeout_secsint300Seconds the daemon lingers after the last session/client exits. 0 = shut down immediately.

[prediction] ​

Mosh-style speculative local echo for high-latency links.

KeyTypeDefaultDescription
modeenumnevernever / always / adaptive (predict only when latency warrants).
threshold_msint30Latency above which adaptive starts predicting (ms).
show_underlinebooltrueUnderline predicted (not-yet-confirmed) characters.

See Remote & Predictive Echo.

[web] ​

Browser gateway — disabled by default. The easiest way to enable it is the loomtty web command, which mints a token and prints the URL. See Web UI.

KeyTypeDefaultDescription
enabledboolfalseServe the browser SPA + /ws gateway.
bindstring""Bind address (IP). Empty = 127.0.0.1.
portint7891Listen port. 0 is rejected.
tokenstring""Shared auth token. Required and ≥ 16 bytes when enabled = true (unless auth = "none"). Generate with openssl rand -hex 16.
authstring"token""token" or "none". "none" is demo mode: no token, the browser UI skips the login screen. Only honored on a loopback bind.
allowed_originsstring[][]Exact-match Origin allowlist (CSRF defense). See below.
static_dirstring""Directory the SPA is served from. Empty = <server-exe-dir>/web.

Security

  • The gateway speaks plain http / ws. Put TLS in front before exposing it past loopback.
  • A non-loopback bind with an empty allowed_origins makes the daemon refuse to start — set the browser origin(s) explicitly, e.g. ["https://terminal.example.com"] (lowercase; http/https only, or the literal "null" for sandboxed contexts).
  • static_dir is served without the token, so put only the public web bundle there — never secrets.

[peer] ​

Agent mailboxes (loomtty peer). A mailbox on this machine is addressed by its bare name; a mailbox on another machine by host:name.

KeyTypeDefaultDescription
hoststring""This machine's name in peer addresses. Use the name the other machines give it in their [[remote.hosts]]. Same rule as session names (lowercase letters, digits, -; max 64), and not a Windows device name (con, nul, com1, …). Empty = local mailboxes only: messages to another machine are refused, because the recipient could not reply.
toml
[peer]
host = "laptop"

loomtty-server reads host when it starts: restart it after changing the value. (The loomtty peer command reads it on every call, so until the restart the two disagree about which senders are local.)

[run] ​

Settings for commands started with loomtty run. session and keep_days are read by the server; pool by the command line on every call.

KeyTypeDefaultDescription
sessionstring"jobs"Session the run panes open in when the caller names none. Same rule as session names. It is a temporary session: never saved or restored, and skipped when a client picks a session to attach to automatically (loomtty attach jobs opens it).
keep_daysint7Days to keep the logs and records of finished runs. Min 1.
poolbooltrueloomtty run, runs and peer reach remote hosts through the local server's connection pool, which keeps ssh connections open between commands (see Running commands). false: each command opens its own ssh connection.
toml
[run]
session = "jobs"
keep_days = 7
pool = true

[keys] ​

The leader key and all keybinding tables. See Keybindings for the full default map and Actions for every bindable action.

KeyTypeDefaultDescription
leaderstring"alt"Leader key.
bindingsmapsee defaultsNormal (leader) key → action.
modesmap of mapssee defaultsNamed key tables (resize, scroll, move).
overview_bindingsmapsee defaultsKeys active in overview.
direct_bindingsmapsee defaultsKeys that work without the leader.
search_bindingsmapsee defaultsKeys active in the search bar.
palette_bindingsmapsee defaultsKeys active in the command palette.
paste_confirm_bindingsmapsee defaultsKeys active in the paste dialog.

WARNING

Defining one of these maps replaces the whole default map — it isn't merged. See Keybindings → Customizing.

[theme] ​

Color preset plus per-color overrides. The full field list and preset names are in Theming.

KeyTypeDefaultDescription
presetstring"loom_dark"One of the nine built-in presets.
color fieldsstringfrom presetAny terminal/UI/chrome color as #RRGGBB; overrides the preset.

Released under the AGPL-3.0-only License.