From 6c844835525c4ba4e195d361aafc5fc1efab10ee Mon Sep 17 00:00:00 2001 From: h-east Date: Thu, 1 May 2025 11:53:02 +0900 Subject: [PATCH] Update windows.{txt,jax} --- doc/windows.jax | 7 ++++--- en/windows.txt | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/windows.jax b/doc/windows.jax index e0b7d249e..c61bdbc0e 100644 --- a/doc/windows.jax +++ b/doc/windows.jax @@ -1,4 +1,4 @@ -*windows.txt* For Vim バージョン 9.1. Last change: 2025 Jan 02 +*windows.txt* For Vim バージョン 9.1. Last change: 2025 Apr 30 VIMリファレンスマニュアル by Bram Moolenaar @@ -1309,8 +1309,9 @@ CTRL-W g } *CTRL-W_g}* :[N]b[uffer][!] [+cmd] {bufname} *{bufname}* バッファリストの {bufname} のバッファを編集する。部分的な名前 も、バッファリスト内で一意である限り動作する。 - バッファ名が数字であるバッファはその名前で参照することはできな - いことに注意。代わりにバッファ番号を使う。 + Note バッファ名が数字であるバッファはその名前で参照することは + できないことに注意。代わりにバッファ番号を使う。バッファ名が + `+` で始まる場合も同様で、|+cmd| の開始として解釈される。 バッファ名の中のスペースの前にバックスラッシュを差し込む。 [!] については |:buffer-!| を参照。 これはバッファリストにないバッファも 'buflisted' フラグを設定 diff --git a/en/windows.txt b/en/windows.txt index db24e5191..545a44b3b 100644 --- a/en/windows.txt +++ b/en/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,