From 11cbc439c8785ed937125e0ba2a60ef470564a5e Mon Sep 17 00:00:00 2001 From: Nathan Lilienthal Date: Mon, 26 Apr 2021 12:08:26 -0400 Subject: Update vi-mode `Open` config docs for hints --- alacritty.yml | 6 +++--- alacritty/src/display/hint.rs | 2 +- 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, -- cgit