wiki

Copy Mode

alt+a (copy_mode) turns the focused pane into a vim-like text browser. It works over the entire screen plus scrollback history — not just what is visible right now. Press alt+a again (or Esc / q) to leave without copying anything.

📸 Screenshot coming here: Copy mode with the cursor over historical text. 🎬 Video coming here: Entering copy mode, selecting text, copying it, and leaving.

Moving around

Keys Motion
h j k l, arrows Move by cells (works with a count, e.g. 3j)
0 Start of line
^ First non-blank character
$ / end Last non-blank character
w b e Word forward / backward / end of word
W B E WORD motions (whitespace-separated)
f F t T Find a character forward / backward / till / backward-till
; / , Repeat find / reverse repeat
g Top of history
G Last non-blank row
{ } Previous / next paragraph
H M L Top / middle / last of the visible screen
ctrl+u / ctrl+d Half page up / down (with count)
ctrl+b / ctrl+f Page up / down
pgup / pgdn Page up / down

Counts work: 3j, 12w, 5f,.

Making a selection

Keys Selection
v Character-wise selection
V Line-wise selection
ctrl+v Block (rectangular) selection
o / O Swap the cursor and anchor ends

With an active selection, the status bar shows the kind. Pressing the selection key again changes it or turns it off.

Copying

Press What it does
y Copy the selection (or the cursor row if nothing is selected)
Enter Copy, then leave copy mode
Y Force line-wise copy of the selection

Copied text goes through the normal pipeline: OSC 52 to your terminal plus native tools (wl-copy/xclip/xsel/termux-clipboard-set/pbcopy), and it fills the in-session paste buffer (alt+p). See Copy and Paste.

Notes

📸 Screenshot coming here: Copy mode showing a block selection (ctrl+v). 🎬 Video coming here: Character-wise, line-wise, and block selection, then copying.