diff --git a/.wezterm.lua b/.wezterm.lua index 7d1bcf4..82a63e4 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -1,5 +1,7 @@ -- local wezterm = require 'wezterm' + +local act = wezterm.action local config = wezterm.config_builder() config.check_for_updates = false @@ -9,6 +11,18 @@ config.font_size = 18.0 config.hide_mouse_cursor_when_typing = false config.initial_cols = 132 config.initial_rows = 43 +config.mouse_bindings = { + { + event = {Up = {streak = 1, button = 'Left'}}, + mods = 'NONE', + action = act.CompleteSelection 'ClipboardAndPrimarySelection', + }, + { + event = {Up = {streak = 1, button = 'Left'}}, + mods = 'CTRL', + action = act.OpenLinkAtMouseCursor, + } +} config.window_padding = { bottom = 0, left = 0,