📚

Tmux Fundamentals

Master essential tmux terminology and concepts, including clients, plugins, sessions, windows, and panes. Learn to navigate and manage your terminal environment efficiently with key commands and features like copy mode and layouts.

Server

Voorkant
🖥️
⚙️

The background process that manages all sessions, windows, and panes.

Achterkant

Client

Voorkant
💻
👨‍💻

Your terminal that connects to the tmux server to interact with sessions.

Achterkant

Session

Voorkant
🏢
💼

A workspace containing one or more windows; you attach/detach from sessions.

Achterkant

Attach (to a session)

Voorkant
🔗
🤝

Connect your terminal to an existing tmux session to view and interact with it.

Achterkant

Detach (from a session)

Voorkant
🚪
🚶

Leave the session running in the background while disconnecting your terminal.

Achterkant

Window

Voorkant
🖼️
🔳

A full‑screen container inside a session, typically holding one or more panes.

Achterkant

Pane

Voorkant
🔲
🧩

A split region inside a window running a shell or program; multiple panes share a window.

Achterkant

Prefix key

Voorkant
🔑
👆

A key sequence that tells tmux the next keystrokes are tmux commands (default: Ctrl-b).

Achterkant

Status bar

Voorkant
📊
📏

The line (usually at the bottom) showing session/window info, time, and custom data.

Achterkant

Pane / window index

Voorkant
🔢
🆔

Numeric identifiers for panes and windows used in commands and the status line.

Achterkant

Target specifier (-t)

Voorkant
🎯
📍

Points a command at a specific session, window, or pane (e.g., -t session:window.pane).

Achterkant

Command prompt

Voorkant
💬
▶️

Interactive prompt (opened via a key binding) to run tmux commands.

Achterkant

choose-tree

Voorkant
🌳
🗺️

Navigable tree UI to quickly jump between sessions, windows, and panes.

Achterkant

Copy mode

Voorkant
📋
✍️

A mode that lets you scroll history and select/copy text within a pane.

Achterkant

Buffers / paste buffers

Voorkant
📎
🗒️

Temporary storage for copied text within tmux; can paste into panes.

Achterkant

Layouts

Voorkant
📐
🏗️

Saved arrangements of panes (e.g., even‑horizontal, even‑vertical, tiled).

Achterkant

Zoom pane

Voorkant
🔍
🔭

Temporarily make a pane full‑screen within its window; toggle to restore layout.

Achterkant

Synchronize panes

Voorkant
🤝
👯

Send the same keystrokes to all panes in a window simultaneously.

Achterkant

Mouse mode

Voorkant
🖱️
👆

Option that enables clicking to select windows/panes and dragging to resize.

Achterkant

Options

Voorkant
⚙️
🔧

Settings that control behavior/appearance; can be global, per‑session, per‑window, or per‑pane.

Achterkant

tmux.conf

Voorkant
📝
📜

Startup config file where you set options, key bindings, and plugins.

Achterkant

Plugin

Voorkant
🧩

External script or tool that extends tmux functionality (e.g., TPM for managing them).

Achterkant

Key tables

Voorkant
🎹
🎼

Named sets of key bindings that tmux switches between (e.g., root, copy-mode).

Achterkant

Control Mode

Voorkant
🎮
🤖

A special mode that allows external programs to control tmux programmatically, sending commands and receiving output.

Achterkant

Hooks

Voorkant
🎣
⚙️

Triggers that run commands when events occur (e.g., client-attached, pane-died).

Achterkant

Formats (e.g., #{pane_id})

Voorkant
📝
🔤

Placeholders used to display tmux metadata in messages, status lines, and scripts.

Achterkant

Alerts (activity/bell/silence)

Voorkant
🔔
🚨

Notifications when a pane has activity, a bell event, or prolonged silence.

Achterkant