Guide

Keyboard and UI

Authoritative defaults as shipped. Rebind in Settings → Shortcuts or with config.keys. Missing actions in an old save keep their built-in chords.

01 — Leader

Prefix / leader

Default leader is Ctrl-b (GLFW key 66, mods 1). Press it, then a prefix-bound key. Modifier keys alone do not cancel prefix mode.

Override with config.leader = { key = 66, mods = 1 }. Mods: ctrl=1, shift=2, alt=4, super=8.

Why Ctrl-Shift for app chords: plain Ctrl-C / Ctrl-D / Ctrl-Z must reach the shell. Ctrl-h/j/k/l are the exception — they move pane focus without a prefix.

02 — Defaults

Default keymap

Panes

ChordActionId
Prefix %Split verticallysplit_v
Prefix "Split horizontallysplit_h
Prefix oNext panepane_next
Prefix h / j / k / lFocus panepane_left …
Ctrl-h / j / k / lFocus pane (no prefix)same
Prefix zZoom panezoom

Windows (tabs)

ChordActionId
Prefix cNew windownew_window
Prefix n or Prefix TabNext windownext_window
Prefix pPrevious windowprev_window
Prefix 0–9Go to window by numbergoto_window
Prefix dDetach sessiondetach
Ctrl-Shift-LLayout pickerlayout_picker
Ctrl-Shift-OSession overviewoverview

Application

ChordActionId
Ctrl-Shift-PCommand palettecommand_palette
Ctrl-Shift-RReload configreload_config
Ctrl-Shift-TCycle themetheme_cycle
Ctrl-Shift-FSearchsearch
Ctrl-Shift-CCopy selectioncopy
Ctrl-Shift-VPastepaste
Ctrl-Shift-,Settingssettings
Ctrl-Shift-/ or Prefix ?Shortcuts overlayshortcuts
Ctrl-Shift-+Increase fontfont_increase
Ctrl--Decrease fontfont_decrease
Ctrl-Shift-QQuitquit
No default chord: status_cycle and demo — run them from the command palette (or bind them). Reserved: Prefix [ is bound to copy_mode but currently has no runtime handler.

03 — Overview

Two-level session overview

Action overview, default Ctrl-Shift-O. Live cell previews reuse each pane’s existing screen — no extra PTYs or screenshots.

InputEffect
Arrows or h j k lMove the selection in the grid
Enter or card clickDrill into panes, or focus the pane and close the overlay
EscPanes → tabs, then close
Backspace or uBack to tabs
×, Delete, or xClose the selected tab or pane
Backdrop clickClose the overlay

Closing a tab or pane that still has a foreground process opens the same confirmation dialog as quit. Cancel is the default. Closing the last pane of a tab closes the tab. The session always keeps at least one tab.

Overview, shortcuts, and the layout picker are mutually exclusive. The quit dialog stays topmost.

04 — Tabs

Numbered tabs and mouse

New windows take the smallest unused positive number (1, 2, 3…). Closing tab 2 while 1 and 3 exist leaves a gap; the next new tab reuses 2 and inserts in numeric order — not at the end.

Prefix 0–9 jumps to the tab whose number (or name) matches the digit, the same label shown on the tab.

Mouse on the tab bar

Inactive-tab attention

An inactive tab gets a pulsing badge when any of its panes produce output, BEL, or OSC 133 command-finished. Selecting the tab clears the badge.

05 — Overlays

Palette, search, shortcuts, layouts

Command palette

Ctrl-Shift-P. Type to filter every action by name/label, then Enter. Also how you run unbound actions such as status_cycle.

Shortcuts overlay

Ctrl-Shift-/ or Prefix ?. Grouped catalog of the current keymap. Click the backdrop or Esc to close.

Search

Ctrl-Shift-F. Status-bar find over scrollback + screen, case-insensitive. All matches highlight; the current one uses the theme’s current-match color. Enter / F3 / ↓ next; Shift+Enter / Shift+F3 / ↑ previous; Esc closes.

Layout picker

Ctrl-Shift-L. Enter applies, s saves the current session, Del deletes a user layout, Esc closes. Apply replaces all tabs/panes with fresh shells (geometry only).

06 — Settings

Preferences window

Ctrl-Shift-, opens a separate window with three tabs:

Apply updates the live session; Save writes ~/.config/traash/config.lua.

In source builds newer than v0.2.0, Appearance → Font → Text rendering offers Natural (default), Legacy, and experimental Linear modes. Linear requires full opacity and an sRGB framebuffer; otherwise it falls back to Natural. See the rendering guide.

Preferences follows the selected theme and rebuilds its font atlas when the framebuffer scale changes.

07 — Pointer

Context menu and selection

Right-click (when no overlay is open) shows: Copy, Paste, Split Right, Split Down, Preferences…

Left-click focuses the pane under the cursor. Double-click selects a word (stops at punctuation and path separators). Drag selects cells; you can scroll (wheel or drag past the edge) to mark text outside the visible area. Copy uses the clipboard; middle-click pastes primary.

The mouse wheel scrolls the pane’s history. If you are scrolled up, Enter (and any other key sent to the shell) jumps back to the live prompt.

08 — Font & resize

Zoom, toast, and crisp resize

Numpad Enter is treated as regular Enter in the shell and in every overlay (palette, search, overview, quit, layouts).

09 — Safety

Process-aware quit and close

Ctrl-Shift-Q quits. If any pane still has a foreground process (not just the idle shell), a dialog lists them. Cancel is focused by default. Enter confirms the focused button; y / n also work. The same dialog is reused when overview (or a last-pane close) would kill a running process.

11 — Encrypted attach

Read-only clients

When you attach with the read-only password (or use --read-only), the status bar shows a READ-ONLY badge. The mux server enforces observer mode:

Attach details and crypto notes: Getting started → Encrypted sessions.

12 — Notifications

Desktop notifications