aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-02-03 13:08:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-02-05 12:35:17 +0000
commit0a32dc3820af009aedbb58cfb5817b9462dbb010 (patch)
treee91ca28c6d74fdf89bea06c3298a951dc9822620
parenturl-mode: use the first *sub* expression as URL (diff)
spawn template variables are on the form ${}, not {}
-rw-r--r--doc/foot.ini.5.scd4
-rw-r--r--foot.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 742281d4..89984ef5 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -806,7 +806,7 @@ for details. In short, you need to:
```
[regex:foo]
regex=foo(bar)?
-launch=path-to-script-or-application {match}
+launch=path-to-script-or-application ${match}
[key-bindings]
regex-launch=[foo] Control+Shift+q
@@ -1280,7 +1280,7 @@ e.g. *search-start=none*.
```
[regex:foo]
regex=foo(bar)?
- launch=path-to-script-or-application {match}
+ launch=path-to-script-or-application ${match}
[key-bindings]
regex-launch=[foo] Control+Shift+q
diff --git a/foot.ini b/foot.ini
index a9a790ac..2489887f 100644
--- a/foot.ini
+++ b/foot.ini
@@ -77,7 +77,7 @@
# [regex:your-fancy-name]
# regex=<a POSIX-Extended Regular Expression>
-# launch=<path to script or application> {match}
+# launch=<path to script or application> ${match}
#
# [key-bindings]
# regex-launch=[your-fancy-name] Control+Shift+q