Skip to content

Instantly share code, notes, and snippets.

@pfitzseb
Last active June 28, 2024 10:37
Show Gist options
  • Save pfitzseb/22cf764811dd0db59ebb12d2f125a749 to your computer and use it in GitHub Desktop.
Save pfitzseb/22cf764811dd0db59ebb12d2f125a749 to your computer and use it in GitHub Desktop.
alacritty config for clickable file paths
[[hints.enabled]]
command = { program = "bash", args = ["-c", "code-insiders -g \"$(P=${0/#\\~/$HOME}; realpath ${P%:*}):$(echo $0 | cut -s -d: -f 2)\""] }
hyperlinks = true
post_processing = true
persist = false
mouse = { enabled = true, mods = "Control" }
regex = "[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+(:\\d+)?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment