alacritty: Add a mapping for copying URLs

This commit is contained in:
Sanchayan Maity 2023-01-18 17:46:45 +05:30
parent 796f673617
commit c0e0387cac
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -268,16 +268,26 @@ hints:
# - MoveViModeCursor # - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint. # Move the vi mode cursor to the beginning of the hint.
enabled: enabled:
- regex: "(magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
command: xdg-open command: xdg-open
post_processing: true post_processing: false
mouse: mouse:
enabled: true enabled: false
mods: None mods: None
binding: binding:
key: U key: U
mods: Control|Shift 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: selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>" semantic_escape_chars: ",│`|:\"' ()[]{}<>"