๐Ÿ“š

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

Front
๐Ÿ–ฅ๏ธ
โš™๏ธ

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

Back

Client

Front
๐Ÿ’ป
๐Ÿ‘จโ€๐Ÿ’ป

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

Back

Session

Front
๐Ÿข
๐Ÿ’ผ

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

Back

Attach (to a session)

Front
๐Ÿ”—
๐Ÿค

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

Back

Detach (from a session)

Front
๐Ÿšช
๐Ÿšถ

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

Back

Window

Front
๐Ÿ–ผ๏ธ
๐Ÿ”ณ

A fullโ€‘screen container inside a session, typically holding one or more panes.

Back

Pane

Front
๐Ÿ”ฒ
๐Ÿงฉ

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

Back

Prefix key

Front
๐Ÿ”‘
๐Ÿ‘†

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

Back

Status bar

Front
๐Ÿ“Š
๐Ÿ“

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

Back

Pane / window index

Front
๐Ÿ”ข
๐Ÿ†”

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

Back

Target specifier (-t)

Front
๐ŸŽฏ
๐Ÿ“

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

Back

Command prompt

Front
๐Ÿ’ฌ
โ–ถ๏ธ

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

Back

choose-tree

Front
๐ŸŒณ
๐Ÿ—บ๏ธ

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

Back

Copy mode

Front
๐Ÿ“‹
โœ๏ธ

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

Back

Buffers / paste buffers

Front
๐Ÿ“Ž
๐Ÿ—’๏ธ

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

Back

Layouts

Front
๐Ÿ“
๐Ÿ—๏ธ

Saved arrangements of panes (e.g., evenโ€‘horizontal, evenโ€‘vertical, tiled).

Back

Zoom pane

Front
๐Ÿ”
๐Ÿ”ญ

Temporarily make a pane fullโ€‘screen within its window; toggle to restore layout.

Back

Synchronize panes

Front
๐Ÿค
๐Ÿ‘ฏ

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

Back

Mouse mode

Front
๐Ÿ–ฑ๏ธ
๐Ÿ‘†

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

Back

Options

Front
โš™๏ธ
๐Ÿ”ง

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

Back

tmux.conf

Front
๐Ÿ“
๐Ÿ“œ

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

Back

Plugin

Front
โž•
๐Ÿงฉ

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

Back

Key tables

Front
๐ŸŽน
๐ŸŽผ

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

Back

Control Mode

Front
๐ŸŽฎ
๐Ÿค–

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

Back

Hooks

Front
๐ŸŽฃ
โš™๏ธ

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

Back

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

Front
๐Ÿ“
๐Ÿ”ค

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

Back

Alerts (activity/bell/silence)

Front
๐Ÿ””
๐Ÿšจ

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

Back