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