summaryrefslogtreecommitdiff
path: root/docs/typ/guide.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/guide.typ')
-rw-r--r--docs/typ/guide.typ5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ
index 9149969a..cf1e758c 100644
--- a/docs/typ/guide.typ
+++ b/docs/typ/guide.typ
@@ -1,7 +1,7 @@
// The guide: pardes day to day, the path a newcomer reads once. Edge cases
// live in the reference, the pager and the language servers in setup, the
// keys on the cheatsheet.
-#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, glossary, annotated
+#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, glossary, annotated, clip
Two clicks carry pardes: #word("Look") (right-click) opens `src/bar.c:12`, and #word("Exec") (middle-click) runs `make`.
@@ -73,8 +73,7 @@ before #key("Ctrl-w") or #key("Alt-n").
[Super-click (Cmd)], [#btn("B3"); not in a terminal, which never passes Super],
[Ctrl-click], [the language server's definition],
)
-// TODO: embed the `chords` clip here on the site once it lands (needs a
-// clip hook in style.typ).
+#clip("chords")
A program that takes the mouse gets the plain click.