summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lilienthal <nathan@nixpulvis.com>2021-04-26 12:08:26 -0400
committerNathan Lilienthal <nathan@nixpulvis.com>2021-04-26 19:10:00 -0400
commit11cbc439c8785ed937125e0ba2a60ef470564a5e (patch)
tree26757d032c90888fc0ee46f6b8a6c1cd24ca89b0
parentc688adc7b514de92afdb9c3c27faeda95f8fa475 (diff)
downloadalacritty-11cbc439c8785ed937125e0ba2a60ef470564a5e.tar.gz
alacritty-11cbc439c8785ed937125e0ba2a60ef470564a5e.zip
Update vi-mode `Open` config docs for hints
-rw-r--r--alacritty.yml6
-rw-r--r--alacritty/src/display/hint.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 8c3a1ab0..a870442e 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -228,7 +228,7 @@
# background: '#c5c8c6'
# foreground: '#1d1f21'
- # Keyboard hints
+ # Keyboard regex hints
#hints:
# Fist character in the hint label
#
@@ -592,8 +592,8 @@
# - Vi mode exclusive actions:
#
# - Open
-# Open URLs at the cursor location with the launcher configured in
-# `url.launcher`.
+# Perform the action of the first matching hint under the vi mode cursor
+# with `mouse.enabled` set to `true`.
# - ToggleNormalSelection
# - ToggleLineSelection
# - ToggleBlockSelection
diff --git a/alacritty/src/display/hint.rs b/alacritty/src/display/hint.rs
index 6ab68f10..f2f49b5d 100644
--- a/alacritty/src/display/hint.rs
+++ b/alacritty/src/display/hint.rs
@@ -165,7 +165,7 @@ impl HintState {
}
/// Hint match which was selected by the user.
-#[derive(Clone)]
+#[derive(Debug, Clone)]
pub struct HintMatch {
/// Action for handling the text.
pub action: HintAction,