tmuxtmuxOptions, hooks and formats

Choose documentation 1

3.2a

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

tmux 3.2a options, hooks and formats

tmux 3.2a hooks

Events that run tmux commands, with the scope each hook belongs to and where tmux fires it. The list covers tmux 3.2a, 61 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.

Clients4

NameScopeSummary
client-attachedsessionRun when a client is attached.
client-detachedsessionRun when a client is detached
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.

Windows5

NameScopeSummary
window-layout-changedwindowNot in the manual.
window-linkedwindowRun 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-unlinkedwindowRun when a window is unlinked from a session.
Esc

Type to search.

Reference previewOpen reference