From 53d46ff2b5468672d2098b8adaa7f3a70e0ed8ab Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 20 Dec 2021 20:23:58 +0000 Subject: [PATCH] Update deprecated hints syntax for alacritty --- files/alacritty.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/files/alacritty.yml b/files/alacritty.yml index d5bf5e9..0ef3b15 100644 --- a/files/alacritty.yml +++ b/files/alacritty.yml @@ -239,18 +239,17 @@ mouse: # If this is `true`, the cursor is temporarily hidden when typing. hide_when_typing: false - url: - # URL launcher - # - # This program is executed when clicking on a text which is recognized as a URL. - # The URL is always added to the command as the last parameter. - launcher: xdg-open - - # URL modifiers - # - # These are the modifiers that need to be held down for opening URLs when clicking - # on them. The available modifiers are documented in the key binding section. - modifiers: Alt +hints: + enabled: + - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + command: xdg-open + post_processing: true + mouse: + enabled: true + mods: None + binding: + key: U + mods: Control|Shift selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>"