Change link clicking behavior.
This commit is contained in:
14
.wezterm.lua
14
.wezterm.lua
@@ -1,5 +1,7 @@
|
|||||||
--
|
--
|
||||||
local wezterm = require 'wezterm'
|
local wezterm = require 'wezterm'
|
||||||
|
|
||||||
|
local act = wezterm.action
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
|
|
||||||
config.check_for_updates = false
|
config.check_for_updates = false
|
||||||
@@ -9,6 +11,18 @@ config.font_size = 18.0
|
|||||||
config.hide_mouse_cursor_when_typing = false
|
config.hide_mouse_cursor_when_typing = false
|
||||||
config.initial_cols = 132
|
config.initial_cols = 132
|
||||||
config.initial_rows = 43
|
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 = {
|
config.window_padding = {
|
||||||
bottom = 0,
|
bottom = 0,
|
||||||
left = 0,
|
left = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user