diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-03-01 19:50:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 19:50:39 +0000 |
commit | a954e076ca0b1ee9c1f272c2b119c67df3935fd4 (patch) | |
tree | f233f8622ac6ab33519bfcb70b480f23697198b1 /docs | |
parent | 772afc6a8aa9db6f89de4b23df27b571a40c9118 (diff) | |
download | alacritty-a954e076ca0b1ee9c1f272c2b119c67df3935fd4.tar.gz alacritty-a954e076ca0b1ee9c1f272c2b119c67df3935fd4.zip |
Add regex terminal hints
This adds support for hints, which allow opening parts of the visual
buffer with external programs if they match a certain regex.
This is done using a visual overlay triggered on a specified key
binding, which then instructs the user which keys they need to press to
pass the text to the application.
In the future it should be possible to supply some built-in actions for
Copy/Pasting the action and using this to launch text when clicking on
it with the mouse. But the current implementation should already be
useful as-is.
Fixes #2792.
Fixes #2536.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/features.md b/docs/features.md index 7f621ea2..55f1d91a 100644 --- a/docs/features.md +++ b/docs/features.md @@ -54,6 +54,15 @@ you can still jump between matches using <kbd>Enter</kbd> and <kbd>Shift</kbd> <kbd>Enter</kbd>. After leaving search with <kbd>Escape</kbd> your active match stays selected, allowing you to easily copy it. +## Hints + +Terminal hints allow easily interacting with visible text without having to +start vi mode. They consist of a regex that detects these text elements and then +feeds them to an external application. + +Hints can be configured in the `hints` and `colors.hints` sections in the +Alacritty configuration file. + ## Selection expansion After making a selection, you can use the right mouse button to expand it. |