Document the null register
This commit is contained in:
parent
8badcdc0d5
commit
d1732673ce
|
@ -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
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user