From 96fc9ecc9a62c8a766da745d05fbe60e6c2e1efe Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 13 Apr 2021 03:24:42 +0000 Subject: 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. --- docs/features.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'docs/features.md') 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 (Shift v) and block selection (Ctrl v). You can also toggle between them while the selection is still active. -### Opening URLs - -While in vi mode you can open URLs using the Enter 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 +Enter 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. -- cgit