mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 23:46:31 +03:00
668d41ad5d
This commit expands quick select mode so that you can trigger it with distinct sets of patterns (eg: urls on one key assignment, hashes on a different key assignment), different alphabets, and lastly, the option to perform a different action from the default copy action. You can pair this with `action_callback` to run lua code to do something with the selected text. This commit also adds `wezterm.open_with`, a helper function for opening documents/URLs. refs: #846 refs: #1362
283 B
283 B
QuickSelect
Since: 20210502-130208-bff6815d
Activates Quick Select Mode.
local wezterm = require 'wezterm';
return {
keys = {
{key=" ", mods="SHIFT|CTRL", action="QuickSelect"},
}
}
See also QuickSelectArgs