tmuxtmuxOptions, hooks and formats

Choose documentation 1

3.7c

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

after-capture-pane

A command's after hook is run after it completes, except when the command is run as part of a hook itself.

Scope
session
Set
set-hook after-capture-pane command
Read
show-hooks after-capture-pane
Runs
After capture-pane completes

Description

A command's after hook is run after it completes, except when the command is run as part of a hook itself. They are named with an ‘after-’ prefix. For example, the following command adds a hook to select the even-vertical layout after every split-window:

Every command that has an after hook shares this text.

Releases

Source

Defined in
options-table.c:1644
Fired from
C source reference
options_table, cmdq_insert_hook
CLI manual
Original manual entry

Used by

Library documentation that names this hook.

Raku
LibTmux::Catalogue
Rust
options.generated.AFTER_CAPTURE_PANE
Go
tmux.Pane.WaitForText, tmux.ServerHookValues.AfterCapturePane, tmux.SessionHookValues.AfterCapturePane
Esc

Type to search.

Reference previewOpen reference