From c0e0387cac45a9d303041c348c5e5b9b3720966a Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 18 Jan 2023 17:46:45 +0530 Subject: [PATCH] alacritty: Add a mapping for copying URLs --- alacritty/.config/alacritty/alacritty.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index c8fd265..d7e9657 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -268,16 +268,26 @@ hints: # - MoveViModeCursor # Move the vi mode cursor to the beginning of the hint. enabled: - - regex: "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + - 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 + post_processing: false mouse: - enabled: true + enabled: false mods: None binding: key: U mods: Control|Shift + - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ + [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + action: Copy + post_processing: false + mouse: + enabled: false + mods: None + binding: + key: E + mods: Control|Shift selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>"