quickselect: add QuickSelectArgs and helpers for opening urls
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
This commit is contained in:
1 parent
6a265d9f72
commit
668d41ad5d
10 files changed
+183
-37
No files matched your search
@@ -4,7 +4,6 @@
|
||||
|
||||
Activates [Quick Select Mode](../../../quickselect.md).
|
||||
|
||||
```lua
|
||||
```lua
|
||||
local wezterm = require 'wezterm';
|
||||
return {
|
||||
@@ -13,3 +12,5 @@ return {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
See also [QuickSelectArgs](QuickSelectArgs.md)
|
||||
Reference in new issue
Block a user