Use hints section in alacritty config for url bits

This commit is contained in:
Dan Buch 2021-05-29 12:46:42 -04:00
parent c46dc86427
commit 91d23490df
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -70,8 +70,18 @@ mouse:
triple_click:
threshold: 300
hide_when_typing: false
url:
modifiers: None
hints:
enabled:
- regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
command: xdg-open
post_processing: true
mouse:
enabled: true
mods: None
binding:
key: U
mods: Control|Shift
selection:
semantic_escape_chars: ',│`|:"'' ()[]{}<>'
save_to_clipboard: false