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
642 B
642 B
PastePrimarySelection
X11: Paste the Primary Selection to the current tab. On other systems, this behaves identically to Paste.
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="PastePrimarySelection"},
},
-- Middle mouse button pastes the primary selection.
mouse_bindings = {
{
event={Up={streak=1, button="Middle"}},
mods="NONE",
action="PastePrimarySelection",
},
}
}