2023-03-21 08:01:24 +03:00
|
|
|
{{since('20210502-154244-3f7122cb')}}
|
2021-04-26 02:27:39 +03:00
|
|
|
|
|
|
|
Quick Select mode allows you to quickly highlight text that matches
|
|
|
|
commonly copied patterns, select a match by typing a one-or-two character
|
|
|
|
prefix and copy it to the clipboard.
|
|
|
|
|
|
|
|
The `QuickSelect` key assignment is used to enter quick select mode; it is
|
|
|
|
bound to `CTRL-SHIFT-SPACE` by default.
|
|
|
|
|
|
|
|
When quick select mode is activated, the terminal is searched for items that
|
|
|
|
match the patterns defined by the
|
|
|
|
[quick_select_patterns](config/lua/config/quick_select_patterns.md)
|
|
|
|
configuration combined with a default set of patterns that match things such as
|
|
|
|
URL and path fragments, git hashes, ip addresses and numbers.
|
|
|
|
|
|
|
|
Matches are highlighted and shown with a one or two character prefix derived
|
|
|
|
from the [quick_select_alphabet](config/lua/config/quick_select_alphabet.md)
|
2022-07-30 04:00:03 +03:00
|
|
|
configuration. The [colors](config/appearance.md#defining-your-own-colors)
|
|
|
|
of the highlighted text can be configured.
|
2021-04-26 02:27:39 +03:00
|
|
|
|
|
|
|
The bottom of the screen shows your input text along with a hint as to what to
|
|
|
|
do next; typing in a highlighted prefix will cause that text to be selected and
|
2021-04-27 17:06:55 +03:00
|
|
|
copied to the clipboard, and quick select mode will be cancelled.
|
|
|
|
|
|
|
|
Typing in the uppercase form of the prefix will copy AND paste the highlighted
|
|
|
|
text, and cancel quick select mod.
|
|
|
|
|
|
|
|
Pressing `ESCAPE` will cancel quick select mode.
|
2021-04-26 02:27:39 +03:00
|
|
|
|
2023-03-16 05:22:51 +03:00
|
|
|
![Screenshot demonstrating the quickselect text highlights](screenshots/wezterm-quick-select.png)
|