Files
LLeMbas-TTY/docs/config/lua/keyassignment/Copy.md
T
Wez Furlong df3387e12c wezterm: change default copy/paste behavior on X11
This commit changes mouse-based selection and middle click to use the
PrimarySelection.

CTRL-SHIFT-{C,V} use Clipboard.

{SHIFT,CTRL}-Insert use PrimarySelection.

`CompleteSelection` and `CompleteSelectionOrOpenLinkAtMouseCursor` now
require a parameter to specify the destination clipboard.

Removed the `default_clipboard_XXX` options added in
8dad34fa61 in favor of just explicitly
assigning the key/mouse bindings.

closes: #417
2021-01-31 09:28:42 -08:00

318 B

Copy

Copy the selection to the clipboard.

since: nightly

This action is considered to be deprecated and will be removed in a future release; please use CopyTo instead.

Example

local wezterm = require 'wezterm';
return {
  keys = {
    {key="C", mods="CTRL", action="Copy"},
  }
}