summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md5
-rw-r--r--docs/tags.md11
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/fs.md b/docs/fs.md
index d746ec28..98a8638d 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -364,6 +364,11 @@ scrolls the pane into view, and `limit` bounds a search and reads empty until
it is set. Truncating `dot` empties it, truncating `limit` lifts it, and
truncating `addr` leaves it as it is (below).
+A rename everywhere, or any other sam edit, is one write to the pane's
+`ctl`: `Edit ,x/foo/c/bar/` runs acme's Edit (docs/tags.md) on the body as
+one undo step; a failure fails the write with acme's words and changes
+nothing.
+
`line:col` is a pardes extension to sam's addresses, the spelling Look
takes in `file:12:5`: `12:5` is the point at line 12, column 5, and it
composes like any simple address (`12:5,14:1`, `12:5+#3`). The column is
diff --git a/docs/tags.md b/docs/tags.md
index de540c91..fdea1472 100644
--- a/docs/tags.md
+++ b/docs/tags.md
@@ -43,6 +43,17 @@ Its text and terminal process are kept;
the command stays available in the visible tag. Every default pane tag includes
`Collapse`, including file, terminal, image, and PDF panes.
+`Edit` is acme's: the rest of the line is sam's command language, run on
+the pane's body (`Edit ,x/foo/c/bar/` renames every `foo`), from a tag, a
+pane's `ctl` or `exec`. Addresses are the `addr` file's, `line:col`
+included; the commands are `x y g v c a i d s p = m t`, `u` alone, and `{ }`
+with a command per line. All its changes are one undo step, applied only
+if every command ran; an error says why in acme's words and changes
+nothing. `p` and `=` print to the directory's `+Errors`. Left out: the file
+commands `b B D e r w f X Y`, the pipes `< | >`, and `\1`-`\9` in `s`,
+since mvzr keeps no submatches; acme applies changes that come out of
+sequence with a warning, pardes refuses the Edit.
+
`Undo` and `Redo` are acme's: typed or clicked in a pane's tag, or written
to its `ctl`, they step the body back and forward through its edits, as the
`u` and `U` keys do. They are not in the default tags.