Paste contents of buffer_0

copy mode

// what it does

Prefix then ] runs `paste-buffer -p`, inserting the contents of the most recently copied buffer into the current pane. Pair it with a copy done via Enter in copy mode to move text from one pane's scrollback into another pane or an editor.

// shortcut

Ctrl + b]

// gotcha

paste-buffer replaces embedded newlines (LF) with carriage returns by default, so pasting a multi-line command at a plain shell prompt can run each line immediately; the default `-p` brackets the paste for programs that support bracketed paste (most modern shells), which prevents that. It pastes the most recent buffer — pass `-b <name>` or use choose-buffer to select a different one.