Document special registers

This commit is contained in:
Maxime Coste 2015-08-11 13:44:07 +01:00
parent d7744308f6
commit 1ea9739ab1

View File

@ -808,6 +808,16 @@ selection.
Registers are lists, instead of simply text in order to interact well with
multiselection. Each selection has its own captures or yank buffer.
Special registers
^^^^^^^^^^^^^^^^^
Some registers are not general purposes, they cannot be written to, but they
contain some special data:
* `%`: current buffer name
* `.`: current selection contents
* `#`: selection indices (first selection has 1, second has 2, ...)
Macros
~~~~~~