From 0f35467395910cc0bed2b40fdbbc91998f97ac41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 10 Jan 2017 10:51:18 +0100 Subject: sam: implement parallel grouping behavior --- man/vis.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'man') 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 -- cgit v1.2.3