summaryrefslogtreecommitdiff
path: root/docs/typ/scripting.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 07:14:38 -0300
committerGabriel Schneider <[email protected]>2026-10-01 07:16:43 -0300
commit61fe4ff00d0cc2e0f3f1bd6be2aedd9d39dc4673 (patch)
tree821a85d132df0948cff0649d396343bc1b999439 /docs/typ/scripting.typ
parentffe28cf8a9fbb483d576f52448dc1cd5269fd577 (diff)
downloadpardes-61fe4ff00d0cc2e0f3f1bd6be2aedd9d39dc4673.tar.gz
pardes-61fe4ff00d0cc2e0f3f1bd6be2aedd9d39dc4673.zip
The docs take round 35: cloud9's errno table, Restore's parser words, insert after a match, LookWord list rows, the last-run awk without exit, command pane directories, rename previews, listings that keep the keyboard, set-value toggles, pty/run one line a write, /pager resolving, PDF :N:H, skipped directories and Lspinfo
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/scripting.typ')
-rw-r--r--docs/typ/scripting.typ1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/typ/scripting.typ b/docs/typ/scripting.typ
index 7bf04efe..f3aa5a18 100644
--- a/docs/typ/scripting.typ
+++ b/docs/typ/scripting.typ
@@ -59,6 +59,7 @@ and #file("exec"), not the root's (see the traps):
[fill, name, save, close], [#cmd("printf 'hello\\n' > $p/body # > replaces, >> appends\necho \"$PWD/notes.txt\" > $p/name\necho Save > $p/ctl\nrmdir $p")],
[say something], [#cmd("echo 'Msg hello' > $p/exec")],
[replace everywhere], [#cmd("echo 'Edit ,x/foo/c/bar/' > $p/ctl\ngrep -c foo $p/body # 0: none left")],
+ [insert after a match], [#cmd("echo 'Edit /old/a/ text/' > $p/ctl # from dot; one undo step")],
[replace one match], [#cmd("echo /old/ > $p/addr && printf new > $p/data")],
[delete line 3], [#cmd("echo 3 > $p/addr; : > $p/data")],
[select line 3, read it], [#cmd("echo 3 > $p/addr; cp $p/addr $p/dot; cat $p/sel")],