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
22 lines
318 B
Markdown
22 lines
318 B
Markdown
# 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](CopyTo.md) instead.
|
|
|
|
## Example
|
|
|
|
|
|
```lua
|
|
local wezterm = require 'wezterm';
|
|
return {
|
|
keys = {
|
|
{key="C", mods="CTRL", action="Copy"},
|
|
}
|
|
}
|
|
```
|
|
|