Nudge new users towards using this style:
```lua
local config = {}
config.color_scheme = 'Batman'
return config
```
and surface how to write lua modules closer to the main section
on config files. In that lua modules section, nudge towards using
a convention similar to that of the plugin spec described in
this commit: e4ae8a844d
16 lines
378 B
Markdown
16 lines
378 B
Markdown
# OpenLinkAtMouseCursor
|
|
|
|
If the current mouse cursor position is over a cell that contains
|
|
a hyperlink, this action causes that link to be opened.
|
|
|
|
```lua
|
|
config.mouse_bindings = {
|
|
-- Ctrl-click will open the link under the mouse cursor
|
|
{
|
|
event = { Up = { streak = 1, button = 'Left' } },
|
|
mods = 'CTRL',
|
|
action = wezterm.action.OpenLinkAtMouseCursor,
|
|
},
|
|
}
|
|
```
|