Skip to content

↑↓ moveEnter openEsc close

Paste yank: the shortcut in 4 apps

4 apps · Mac, Windows and Linux

On Mac it is usually Ctrl+Y (2 of 4 apps); on Windows it is usually Ctrl+Y (2 of 3 apps); on Linux it is usually Ctrl+Y (2 of 4 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
BashPaste the last cut textCtrlYCtrlYCtrlY
Claude CodePaste the text you deletedCtrlYCtrlYCtrlY
EmacsReplace the paste with an older kill · Right after Ctrl+YOptionYAltYAltY
tmuxPaste the copy bufferCtrlB,]—CtrlB,]

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: Ctrl+Y in Bash and Claude Code; Option+Y in Emacs; Ctrl+B ] in tmux.
  • Windows: Ctrl+Y in Bash and Claude Code; Alt+Y in Emacs.
  • Linux: Ctrl+Y in Bash and Claude Code; Alt+Y in Emacs; Ctrl+B ] in tmux.

Where and when it works

  • Emacs (Right after Ctrl+Y).

Learn it by pressing it: Bash shortcuts practice, Claude Code shortcuts practice, Emacs shortcuts practice or tmux shortcuts practice.