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
# 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: ",│`|:\"' ()[]{}<>"