From fae4abd2f4bd8f97167ea9f7a327d69c9f0afbfd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 1 May 2025 07:45:17 +0800 Subject: [PATCH] vim-patch:ff3d4b2: runtime(doc): document that :b cannot handle buffer names starting with "+" closes: vim/vim#17229 https://github.com/vim/vim/commit/ff3d4b2d49c4b8b7d97cfaeffe57321a1852f7e8 Co-authored-by: Christian Brabandt --- runtime/doc/windows.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 7451611ff3..5d278d7645 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1249,7 +1249,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,