wezterm: Yank to clipboard by default

This commit is contained in:
Marty Oehme 2023-03-21 18:57:27 +01:00
parent 395ae723b9
commit e6d17ab632
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -25,7 +25,7 @@ if file_exists(colorsfile) == true then
colors = wezterm.color.load_scheme(colorsfile)
end
return {
local settings = {
enable_wayland = true,
hide_tab_bar_if_only_one_tab = true,
use_fancy_tab_bar = false,
@ -40,4 +40,13 @@ return {
leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1500 },
keys = maps.keys,
key_tables = maps.key_tables,
mouse_bindings = {
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'NONE',
action = wezterm.action
.CompleteSelectionOrOpenLinkAtMouseCursor 'ClipboardAndPrimarySelection'
}
}
}
return settings