Document the null register

This commit is contained in:
Maxime Coste 2016-03-31 09:19:33 +01:00
parent 8badcdc0d5
commit d1732673ce
3 changed files with 5 additions and 0 deletions

View File

@ -975,6 +975,7 @@ contain some special data:
* `%`: current buffer name * `%`: current buffer name
* `.`: current selection contents * `.`: current selection contents
* `#`: selection indices (first selection has 1, second has 2, ...) * `#`: selection indices (first selection has 1, second has 2, ...)
* `_`: null register, always empty
Default registers Default registers
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^

View File

@ -56,6 +56,9 @@ contain some special data
*#*:: *#*::
selection indices (first selection has 1, second has 2, ...) selection indices (first selection has 1, second has 2, ...)
*_*::
null register, always empty
Integer registers Integer registers
----------------- -----------------
Registers *1* to *9* hold the grouped sub-matches of the regular Registers *1* to *9* hold the grouped sub-matches of the regular

View File

@ -145,6 +145,7 @@ constexpr StringView register_doc =
" * .: selection contents\n" " * .: selection contents\n"
" * #: selection index\n" " * #: selection index\n"
" * [0-9]: selections capture group\n" " * [0-9]: selections capture group\n"
" * _: null register\n"
" * \": default yank/paste register\n" " * \": default yank/paste register\n"
" * @: default macro register\n" " * @: default macro register\n"
" * /: default search register\n" " * /: default search register\n"