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
1 changed files with 14 additions and 4 deletions

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