Skip to content

Commit

Permalink
alacritty: add hints config
Browse files Browse the repository at this point in the history
  • Loading branch information
c02y committed Sep 25, 2024
1 parent e233263 commit 4c5b50c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions alacritty/.config/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,15 @@ opacity = 0.75
[window.dimensions]
columns = 120
lines = 40

# TODO: currently only highlight hyperlinks, make it kitty way
[[hints.enabled]]
command = "xdg-open" # On Linux/BSD
# command = "open" # On macOS
# command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows
hyperlinks = true
post_processing = true
persist = false
mouse.enabled = true
binding = { key = "P", mods = "Control|Shift" }
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"

0 comments on commit 4c5b50c

Please sign in to comment.