runtime(doc): correct `vi` registers 1-9 documentation error Commit: https://github.com/vim/vim/commit/6e56484f051d34265acfb3bf390ba69482554ed6 Author: Frederick Key Abell III <fkabell@localhost.localdomain> Date: Mon Oct 7 21:07:12 2024 +0200
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 <fkabell@localhost.localdomain> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 2304712c3..785f4acca 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, -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sxtCH-001Fd3-EK%40256bit.org.