Tweak mark documentation

This commit is contained in:
Maxime Coste 2019-12-10 21:14:03 +11:00
parent 170c4a9cf1
commit 5ba4da99e3

View File

@ -92,24 +92,17 @@ spans, in a format similar to `%val{selections_desc}` (see
<<expansions#value-expansions, `:doc expansions value-expansions`). However, <<expansions#value-expansions, `:doc expansions value-expansions`). However,
the very first item of the list is of the form: the very first item of the list is of the form:
--------------------- ------------------------------------------
/path/to/file@123@456 <buffer name>@<timestamp>@<main sel index>
--------------------- ------------------------------------------
...where: with:
/path/to/file:: *buffer name*::
represents the filesystem path of the file where the selections were saved, `%val{buffile}` of the buffer selections relate to
like `%val{buffile}`.
123:: *timestamp*::
represents the value of `%val{timestamp}` when the selections were saved, `%val{timestamp}` at which the selection apply to
so the selections can still be restored after the buffer has been modified,
or modifications undone.
456:: *main sel index*::
indicates which was the main selection, when the selections were saved 0-based index of the main selection
(zero-based).
You can examine the content of a mark register by using `<a-p>` to paste it,
so you can see all its items, not limited to the current number of selections.