aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-01-10 10:51:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-01-12 22:37:21 +0100
commit0f35467395910cc0bed2b40fdbbc91998f97ac41 (patch)
treed8e47590fd5ea8b30321dade3b94d2d64eeb6cc1 /man
parente83a9d5d92896cfd6a4a9aa51f3879e47704e607 (diff)
downloadvis-0f35467395910cc0bed2b40fdbbc91998f97ac41.tar.gz
vis-0f35467395910cc0bed2b40fdbbc91998f97ac41.tar.xz
sam: implement parallel grouping behavior
Diffstat (limited to 'man')
-rw-r--r--man/vis.112
1 files changed, 10 insertions, 2 deletions
diff --git a/man/vis.1 b/man/vis.1
index b41e45a..b902b76 100644
--- a/man/vis.1
+++ b/man/vis.1
@@ -561,8 +561,16 @@ Commands may be grouped by enclosing them in curly braces.
Semantically, the opening brace is like a command: it takes an
.Pq optional
address and runs each sub-command on the range.
-Commands within the braces are executed sequentially, and changes made by one command are visible to other commands.
-.
+Commands within the braces are executed sequentially, but changes
+made by one command are not visible to other commands.
+.Pp
+When a command makes a number of changes to a file, as in
+.Ic x/re/c/text/ ,
+the addresses of all changes to the file are computed in the original
+file. If the changes are non-overlapping, they are applied to the file.
+Successive insertions at the same address are catenated into a single
+insertion composed of the several insertions in the order applied.
+.Pp
Braces may be nested arbitrarily.
.
.Sh VI(M) KEY BINDINGS