aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-04-13 03:24:42 +0000
committerGitHub <noreply@github.com>2021-04-13 03:24:42 +0000
commit96fc9ecc9a62c8a766da745d05fbe60e6c2e1efe (patch)
tree16e237d750d6c650713b58df98453dc4df16d33a /docs
parent40bcdb11335cc49d4d42694b953be746cb383cb9 (diff)
downloadalacritty-96fc9ecc9a62c8a766da745d05fbe60e6c2e1efe.tar.gz
alacritty-96fc9ecc9a62c8a766da745d05fbe60e6c2e1efe.zip
Add vi/mouse hint highlighting support
This patch removes the old url highlighting code and replaces it with a new implementation making use of hints as sources for finding matches in the terminal.
Diffstat (limited to 'docs')
-rw-r--r--docs/features.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/features.md b/docs/features.md
index 3aa87aab..fd9a9ad2 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -27,13 +27,6 @@ line (<kbd>Shift</kbd> <kbd>v</kbd>) and block selection (<kbd>Ctrl</kbd>
<kbd>v</kbd>). You can also toggle between them while the selection is still
active.
-### Opening URLs
-
-While in vi mode you can open URLs using the <kbd>Enter</kbd> key. If some text
-is recognized as a URL, it will be underlined once you move the vi cursor above
-it. The program used to open these URLs can be changed in the [configuration
-file].
-
## Search
Search allows you to find anything in Alacritty's scrollback buffer. You can
@@ -61,6 +54,11 @@ start vi mode. They consist of a regex that detects these text elements and then
either feeds them to an external application or triggers one of Alacritty's
built-in actions.
+Hints can also be triggered using the mouse or vi mode cursor. If a hint is
+enabled for mouse interaction and recognized as such, it will be underlined when
+the mouse or vi mode cursor is on top of it. Using the left mouse button or
+<kbd>Enter</kbd> key in vi mode will then trigger the hint.
+
Hints can be configured in the `hints` and `colors.hints` sections in the
Alacritty configuration file.