From 6e56484f051d34265acfb3bf390ba69482554ed6 Mon Sep 17 00:00:00 2001 From: Frederick Key Abell III Date: Mon, 7 Oct 2024 21:07:12 +0200 Subject: [PATCH] runtime(doc): correct `vi` registers 1-9 documentation error When using heirloom `vi` originally written by Bill Joy (`:version` gives me "Version 4.0 (gritter) 12/25/06"), its possible to store text into registers 1-9 and subsequently use the `:edit` or `:next` command to change files and paste the contents of those numbered registers, contrary to what Vim documentation states. POSIX description also does not mention such a restriction: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/ex.html#tag_20_40_13_10 closes: #15814 Signed-off-by: Frederick Key Abell III Signed-off-by: Christian Brabandt --- runtime/doc/change.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 2304712c3e..785f4accae 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 9.1. Last change: 2024 Jul 28 +*change.txt* For Vim version 9.1. Last change: 2024 Oct 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1283,8 +1283,7 @@ mapped. E.g. |%| is mapped by the matchit plugin. With each successive deletion or change, Vim shifts the previous contents of register 1 into register 2, 2 into 3, and so forth, losing the previous contents of register 9. -{Vi: numbered register contents are lost when changing files; register 0 does -not exist} +{Vi: register 0 does not exist} 3. Small delete register "- *quote_-* *quote-* This register contains text from commands that delete less than one line,