From 5442310fb9fd4edd0904f478f71ddc75699fc0a2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 13 Jan 2024 12:34:06 +0100 Subject: fix(hm/conf/alacritty): Switch to a toml config --- hm/soispha/conf/alacritty/toml/hints.toml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 hm/soispha/conf/alacritty/toml/hints.toml (limited to 'hm/soispha/conf/alacritty/toml/hints.toml') diff --git a/hm/soispha/conf/alacritty/toml/hints.toml b/hm/soispha/conf/alacritty/toml/hints.toml new file mode 100644 index 00000000..cc389725 --- /dev/null +++ b/hm/soispha/conf/alacritty/toml/hints.toml @@ -0,0 +1,34 @@ +[hints] +alphabet = "jfkdls;ahgurieowpq" + +[[hints.enabled]] +command = "xdg-open" +hyperlinks = true +post_processing = true +regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" + +[hints.enabled.binding] +key = "U" +mods = "Control|Shift" + +[hints.enabled.mouse] +enabled = true +mods = "None" + +[[hints.enabled]] +action = "Paste" +post_procesing = false +regex = '''([^ '"`=:\[\(]*/)([^/: '"`\)\]]*)''' + +[hints.enabled.binding] +key = "T" +mods = "Control|Shift" + +[[hints.enabled]] +action = "Paste" +post_procesing = false +regex = '([a-z0-9]{7})\s' + +[hints.enabled.binding] +key = "H" +mods = "Control|Shift" -- cgit 1.4.1