From 31162bdbb78d41c695a5e7b1a9e448ec0e1144f1 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Fri, 6 Dec 2019 20:01:30 +1100 Subject: [PATCH] registers.asciidoc: Document the format of marks. --- doc/pages/registers.asciidoc | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/doc/pages/registers.asciidoc b/doc/pages/registers.asciidoc index 5e43050f..db4b46fe 100644 --- a/doc/pages/registers.asciidoc +++ b/doc/pages/registers.asciidoc @@ -44,7 +44,8 @@ All normal-mode commands using a register default to a specific one if not speci *^* (caret):: default mark register, used by: *z*, **, *Z* and ** - (see <>) + (see <> + and <>) *|* (pipe):: default shell command register, used by commands that spawn a subshell: @@ -82,3 +83,33 @@ month in register *3*, but select the entire date: -------------------- (\w+) (\w+) (\d+) .+ -------------------- + +== Marks + +When a register is used to store a set of selections with the *Z* key (see +<>), the selections are stored as a list of +spans, in a format similar to `%val{selections_desc}` (see +<` to paste it, +so you can see all its items, not limited to the current number of selections.