tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

tmux 3.7c options, hooks and formats

tmux 3.7c hooks

Events that run tmux commands, with the scope each hook belongs to and where tmux fires it. The list covers tmux 3.7c, 68 entries.

After a command38

Every command that has an after hook shares one description: tmux runs the hook after the command finishes.

NameScopeSummary
after-queuesessionNot in the manual.

Window alerts3

NameScopeSummary
alert-activitysessionRun when a window has activity.
alert-bellsessionRun when a window has received a bell.
alert-silencesessionRun when a window has been silent.

Clients9

NameScopeSummary
client-activesessionRun when a client becomes the latest active client of its session.
client-attachedsessionRun when a client is attached.
client-dark-themesessionRun when a client switches to a dark theme.
client-detachedsessionRun when a client is detached
client-focus-insessionRun when focus enters a client
client-focus-outsessionRun when focus exits a client
client-light-themesessionRun when a client switches to a light theme.
client-resizedsessionRun when a client is resized.
client-session-changedsessionRun when a client's attached session is changed.

Panes7

NameScopeSummary
pane-diedwindow, paneRun when the program running in a pane exits, but remain-on-exit is on so the pane has not closed.
pane-exitedwindow, paneRun when the program running in a pane exits.
pane-focus-inwindow, paneRun when the focus enters a pane, if the focus-events option is on.
pane-focus-outwindow, paneRun when the focus exits a pane, if the focus-events option is on.
pane-mode-changedwindow, paneThe pane with ID pane-id has changed mode.
pane-set-clipboardwindow, paneRun when the terminal clipboard is set using the xterm(1) escape sequence.
pane-title-changedwindow, paneNot in the manual.

Sessions4

NameScopeSummary
session-closedsessionRun when a session closed.
session-createdsessionRun when a new session created.
session-renamedsessionRun when a session is renamed.
session-window-changedsessionThe session with ID session-id changed its active window to the window with ID window-id.

Windows6

NameScopeSummary
window-layout-changedwindowRun when a window layout is changed.
window-linkedsessionRun when a window is linked into a session.
window-pane-changedwindowThe active pane in the window with ID window-id changed to the pane with ID pane-id.
window-renamedwindowRun when a window is renamed.
window-resizedwindowRun when a window is resized.
window-unlinkedsessionRun when a window is unlinked from a session.

Other hooks1

NameScopeSummary
command-errorsessionRun when a command fails.
Esc

Type to search.

Reference previewOpen reference