aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-11-23 22:16:18 +0400
committerKirill Chibisov <contact@kchibisov.com>2023-11-24 03:01:10 +0400
commit48b1dc8101935c4383e54156c74659d1cd11f96c (patch)
treeb9c494692ed305f03956bbc72628a53f751e1531
parentda69839c6b9581121d59ab2dbf80e9a64890f6d4 (diff)
downloadalacritty-48b1dc8101935c4383e54156c74659d1cd11f96c.tar.gz
alacritty-48b1dc8101935c4383e54156c74659d1cd11f96c.zip
Fix default for [[hints.enabled]] in man pages
The default was incomplete, since `command` was missing.
-rw-r--r--extra/man/alacritty.5.scd19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd
index 41a1ec4b..f05773bc 100644
--- a/extra/man/alacritty.5.scd
+++ b/extra/man/alacritty.5.scd
@@ -696,14 +696,17 @@ _action_ or a _command_.
The _enabled_ field controls if the hint should be underlined when
hovering over the hint text with all _mods_ pressed.
-Default: [{
- regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_,++
-hyperlinks = _true_,++
-post_processing = _true_,++
-persist = _false_,++
-mouse = { enabled = _true_ },++
-binding = { key = _"U"_, mods = _"Control|Shift"_ },++
-}]
+ Default:
+ *[[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 = _"U"_, mods = _"Control|Shift"_ }++
+regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_
# KEYBOARD