about summary refs log tree commit diff stats
path: root/hm/soispha/conf/alacritty/toml/hints.toml
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 12:34:06 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 13:14:12 +0100
commit5442310fb9fd4edd0904f478f71ddc75699fc0a2 (patch)
tree3defa23e252838e4c09f93a0ad6277d23cbf6928 /hm/soispha/conf/alacritty/toml/hints.toml
parentfeat(hm/pkgs/scr/nato): init (diff)
downloadnixos-config-5442310fb9fd4edd0904f478f71ddc75699fc0a2.zip
fix(hm/conf/alacritty): Switch to a toml config
Diffstat (limited to 'hm/soispha/conf/alacritty/toml/hints.toml')
-rw-r--r--hm/soispha/conf/alacritty/toml/hints.toml34
1 files changed, 34 insertions, 0 deletions
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"