runtime(doc): document that :b cannot handle buffer names starting with "+"
Commit: https://github.com/vim/vim/commit/ff3d4b2d49c4b8b7d97cfaeffe57321a1852f7e8 Author: Christian Brabandt <c...@256bit.org> Date: Wed Apr 30 19:54:52 2025 +0200 runtime(doc): document that :b cannot handle buffer names starting with "+" closes: https://github.com/vim/vim/issues/17229 Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index db24e5191..545a44b3b 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 9.1. Last change: 2025 Jan 02 +*windows.txt* For Vim version 9.1. Last change: 2025 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1289,7 +1289,9 @@ list of buffers. |unlisted-buffer| name also works, so long as it is unique in the list of buffers. Note that a buffer whose name is a number cannot be referenced - by that name; use the buffer number instead. + by that name; use the buffer number instead. Same is true if + the buffer name starts with a `+`, it will be interpreted as + the start of a |+cmd|. Insert a backslash before a space in a buffer name. See |:buffer-!| for [!]. This will also edit a buffer that is not in the buffer list, -- -- 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 visit https://groups.google.com/d/msgid/vim_dev/E1uABj1-00HVAl-Kh%40256bit.org.