Use middle click to open links.

This commit is contained in:
Gea-Suan Lin
2024-03-21 23:12:41 +08:00
parent 616b3d8dcb
commit de6780f87b

View File

@@ -18,8 +18,13 @@ config.mouse_bindings = {
action = act.CompleteSelection 'ClipboardAndPrimarySelection', action = act.CompleteSelection 'ClipboardAndPrimarySelection',
}, },
{ {
event = {Up = {streak = 1, button = 'Left'}}, event = {Down = {streak = 1, button = 'Middle'}},
mods = 'CTRL', mods = 'NONE',
action = act.Nop,
},
{
event = {Up = {streak = 1, button = 'Middle'}},
mods = 'NONE',
action = act.OpenLinkAtMouseCursor, action = act.OpenLinkAtMouseCursor,
} }
} }