1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-27 23:46:31 +03:00
wezterm/docs/config/lua/keyassignment/OpenLinkAtMouseCursor.md
2021-10-03 09:10:04 -07:00

406 B

OpenLinkAtMouseCursor

If the current mouse cursor position is over a cell that contains a hyperlink, this action causes that link to be opened.

local wezterm = require 'wezterm';

return {
  mouse_bindings = {
    -- Ctrl-click will open the link under the mouse cursor
    {
      event={Up={streak=1, button="Left"}},
      mods="CTRL",
      action="OpenLinkAtMouseCursor",
    },
  },
}