runtime(doc): Add missing optional tail command-name specs

- Use the optional tail command-name specs at help entries for :keepalt,
  :lcd, :cfdo, :lfdo, :wundo, :rundo, :bdelete and :bunload.
- Add missing shortname tags.

closes: #18547

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-10-11 15:51:45 +00:00
committed by Christian Brabandt
parent c7d6ec713e
commit 6800da6ff1
5 changed files with 29 additions and 21 deletions

View File

@ -1,4 +1,4 @@
*windows.txt* For Vim version 9.1. Last change: 2025 Apr 30
*windows.txt* For Vim version 9.1. Last change: 2025 Oct 11
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1223,17 +1223,18 @@ list of buffers. |unlisted-buffer|
:%bdelete " delete all buffers
<
:bdelete[!] {bufname} *E93* *E94*
:bd[elete][!] {bufname} *E93* *E94*
Like ":bdelete[!] [N]", but buffer given by name, see
|{bufname}|.
:bdelete[!] N1 N2 ...
:bd[elete][!] N1 N2 ...
Do ":bdelete[!]" for buffer N1, N2, etc. The arguments can be
buffer numbers or buffer names (but not buffer names that are
a number). Insert a backslash before a space in a buffer
name.
:N,Mbdelete[!] Do ":bdelete[!]" for all buffers in the range N to M
:N,Mbd[elete][!]
Do ":bdelete[!]" for all buffers in the range N to M
|inclusive|.
:[N]bw[ipeout][!] *:bw* *:bwipe* *:bwipeout* *E517*
@ -1262,14 +1263,15 @@ list of buffers. |unlisted-buffer|
This is the most recent entry in the jump list that points
into a loaded buffer.
:bunload[!] {bufname}
:bun[load][!] {bufname}
Like ":bunload[!] [N]", but buffer given by name.
Also see |{bufname}|.
:N,Mbunload[!] Do ":bunload[!]" for all buffers in the range N to M
:N,Mbun[load][!]
Do ":bunload[!]" for all buffers in the range N to M
|inclusive|.
:bunload[!] N1 N2 ...
:bun[load][!] N1 N2 ...
Do ":bunload[!]" for buffer N1, N2, etc. The arguments can be
buffer numbers or buffer names (but not buffer names that are
a number). Insert a backslash before a space in a buffer