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
571 B
571 B
Paste
Paste the clipboard to the current pane.
since: nightly
This action is considered to be deprecated and will be removed in a future release; please use PasteFrom instead.
Example
local wezterm = require 'wezterm';
return {
keys = {
{key="v", mods="SHIFT|CTRL", action="Paste"},
},
-- Middle mouse button pastes the clipboard.
-- Note that this is the default so you needn't copy this.
mouse_bindings = {
{
event={Up={streak=1, button="Middle"}},
mods="NONE",
action="Paste",
},
}
}