Mouse copy & paste

Copy on select, right-click and middle-click paste, and the paste-and-run guard.

copypasteclipboardmouseright clickmiddle clickselectputty

Mouse copy & paste

Copy and paste with the mouse the way your old terminal did, whether that was macOS Terminal, PuTTY or Windows Terminal. All of it is set in Settings → Terminal → Mouse.

Copy

  • Copy on select (on by default) copies text as soon as you let go of the mouse. A small Copied note appears at the pointer.
  • Double-click selects a word, and triple-click selects a line.
  • From the keyboard, use ⌘C on macOS, or Ctrl+Shift+C on Windows and Linux.

Right-click

Choose what a right-click does:

Setting Behaviour
Show menu (default) Opens a menu with Copy, Paste, Select all, Clear scrollback and more.
Paste Pastes straight away, like PuTTY and MobaXterm.
Copy or paste Copies the selection if there is one, otherwise pastes, like Windows Terminal.

Shift + right-click always opens the menu, whatever you choose here.

Paste

  • ⌘V on macOS, or Ctrl+Shift+V on Windows and Linux.
  • Middle-click pastes (on by default). On Linux it pastes the last selection, as X11 apps do. Elsewhere it pastes the clipboard.

The paste-and-run guard

With Confirm before pasting text that would run on, the app asks before pasting text that contains a line break the shell would treat as Enter. The dialog shows the text and offers Paste, plus Paste without running when only a trailing line break would run it.

Shells with bracketed paste (bash 5.1 and later, zsh) hold pasted text for editing anyway, so they're never interrupted.

Full-screen apps

When a program such as vim, htop or mc uses the mouse, clicks go to it. Hold Shift to select or paste anyway.

Keyboard shortcuts · Settings