wezterm: Yank to clipboard by default
This commit is contained in:
parent
395ae723b9
commit
e6d17ab632
1 changed files with 10 additions and 1 deletions
|
@ -25,7 +25,7 @@ if file_exists(colorsfile) == true then
|
||||||
colors = wezterm.color.load_scheme(colorsfile)
|
colors = wezterm.color.load_scheme(colorsfile)
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
local settings = {
|
||||||
enable_wayland = true,
|
enable_wayland = true,
|
||||||
hide_tab_bar_if_only_one_tab = true,
|
hide_tab_bar_if_only_one_tab = true,
|
||||||
use_fancy_tab_bar = false,
|
use_fancy_tab_bar = false,
|
||||||
|
@ -40,4 +40,13 @@ return {
|
||||||
leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1500 },
|
leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1500 },
|
||||||
keys = maps.keys,
|
keys = maps.keys,
|
||||||
key_tables = maps.key_tables,
|
key_tables = maps.key_tables,
|
||||||
|
mouse_bindings = {
|
||||||
|
{
|
||||||
|
event = { Up = { streak = 1, button = 'Left' } },
|
||||||
|
mods = 'NONE',
|
||||||
|
action = wezterm.action
|
||||||
|
.CompleteSelectionOrOpenLinkAtMouseCursor 'ClipboardAndPrimarySelection'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return settings
|
||||||
|
|
Loading…
Reference in a new issue