From f12d84b4d87f6ca80bc1edc96a0a8476b472b3db Mon Sep 17 00:00:00 2001 From: h-east Date: Fri, 17 Oct 2025 22:22:14 +0900 Subject: [PATCH] Update windows.{txt,jax} --- doc/windows.jax | 18 ++++++++++-------- en/windows.txt | 44 +++++++++++++++++++++++--------------------- 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/doc/windows.jax b/doc/windows.jax index fc684ce02..0d7ca0847 100644 --- a/doc/windows.jax +++ b/doc/windows.jax @@ -1,4 +1,4 @@ -*windows.txt* For Vim バージョン 9.1. Last change: 2025 Apr 30 +*windows.txt* For Vim バージョン 9.1. Last change: 2025 Oct 14 VIMリファレンスマニュアル by Bram Moolenaar @@ -145,7 +145,7 @@ Note: ステータス行が反転表示されるはずが反転表示されな *filler-lines* ウィンドウ内の最後のバッファ行の後の行は、フィラー行と呼ばれる。デフォルトで -は、これらの行はチルダ (~) 文字で始まる。'fillchars' オプション内の 'eob' 項目 +は、これらの行はチルダ (~) 文字で始まる。'fillchars' オプション内の "eob" 項目 で使用する文字を変更することができる。デフォルトでは、これらの文字は NonText (|hl-Nontext|) としてハイライトされる。EndOfBuffer ハイライトグループ (|hl-EndOfBuffer|) を使用して、フィラー文字のハイライトを変更することができる。 @@ -1245,17 +1245,18 @@ CTRL-W g } *CTRL-W_g}* " ファまでを削除 :%bdelete " すべてのバッファを削除 -:bdelete[!] {bufname} *E93* *E94* +:bd[elete][!] {bufname} *E93* *E94* ":bdelete[!] [N]" と同様だが、バッファを名前で指定する。 |{bufname}| を参照。 -:bdelete[!] N1 N2 ... +:bd[elete][!] N1 N2 ... ":bdelete[!]" をバッファN1、N2、等に対して実行する。引数には バッファ番号かバッファ名(ただし数字のバッファ名は使用不可)を使 用できる。バッファ名中のスペースの前にはバックスラッシュを入れ る必要がある。 -:N,Mbdelete[!] ":bdelete[!]" を N から M まで(N,Mを含む)の全てのバッファに対 +:N,Mbd[elete][!] + ":bdelete[!]" を N から M まで(N,Mを含む)の全てのバッファに対 して実行する。 :[N]bw[ipeout][!] *:bw* *:bwipe* *:bwipeout* *E517* @@ -1284,14 +1285,15 @@ CTRL-W g } *CTRL-W_g}* ロードされているバッファを指し示している最も最近のエントリが使 用される。 -:bunload[!] {bufname} +:bun[load][!] {bufname} ":bunload[!] [N]" と同様だが、バッファを名前で指定する。 |{bufname}| も参照。 -:N,Mbunload[!] ":bunload[!]" を N から M まで(N,Mを含む)の全てのバッファに対 +:N,Mbun[load][!] + ":bunload[!]" を N から M まで(N,Mを含む)の全てのバッファに対 して実行する。 -:bunload[!] N1 N2 ... +:bun[load][!] N1 N2 ... ":bunload[!]" をバッファN1、N2、等に対して実行する。引数には バッファ番号かバッファ名(ただし数字のバッファ名は使用不可)を使 用できる。バッファ名中のスペースの前にはバックスラッシュを入れ diff --git a/en/windows.txt b/en/windows.txt index 545a44b3b..108666248 100644 --- a/en/windows.txt +++ b/en/windows.txt @@ -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 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -72,7 +72,7 @@ Each buffer has a unique number and the number will not change within a Vim session. The |bufnr()| and |bufname()| functions can be used to convert between a buffer name and the buffer number. There is one exception: if a new empty buffer is created and it is not modified, the buffer will be re-used -when loading another file into that buffer. This also means the buffer number +when loading another file into that buffer. This also means the buffer number will not change. The main Vim window can hold several split windows. There are also tab pages @@ -80,7 +80,7 @@ The main Vim window can hold several split windows. There are also tab pages *window-ID* *winid* *windowid* Each window has a unique identifier called the window ID. This identifier -will not change within a Vim session. The |win_getid()| and |win_id2tabwin()| +will not change within a Vim session. The |win_getid()| and |win_id2tabwin()| functions can be used to convert between the window/tab number and the identifier. There is also the window number, which may change whenever windows are opened or closed, see |winnr()|. @@ -127,11 +127,11 @@ This option can be local to the window, so that you can have a different status line in each window. Normally, inversion is used to display the status line. This can be changed -with the 's' character in the 'highlight' option. For example, "sb" sets it to -bold characters. If no highlighting is used for the status line ("sn"), the -'^' character is used for the current window, and '=' for other windows. If -the mouse is supported and enabled with the 'mouse' option, a status line can -be dragged to resize windows. +with the 's' character in the 'highlight' option. For example, "sb" sets it +to bold characters. If no highlighting is used for the status line ("sn"), +the '^' character is used for the current window, and '=' for other windows. +If the mouse is supported and enabled with the 'mouse' option, a status line +can be dragged to resize windows. Note: If you expect your status line to be in reverse video and it isn't, check if the 'highlight' option contains "si". In version 3.0, this meant to @@ -142,9 +142,9 @@ that have termcap codes for italics. *filler-lines* The lines after the last buffer line in a window are called filler lines. By -default, these lines start with a tilde (~) character. The 'eob' item in the -'fillchars' option can be used to change this character. By default, these -characters are highlighted as NonText (|hl-NonText|). The EndOfBuffer +default, these lines start with a tilde (~) character. The "eob" item in the +'fillchars' option can be used to change this character. By default, these +characters are highlighted as NonText (|hl-NonText|). The EndOfBuffer highlight group (|hl-EndOfBuffer|) can be used to change the highlighting of the filler characters. @@ -912,7 +912,7 @@ CTRL-W CTRL-F Split current window in two. Edit file name under cursor. CTRL-W F *CTRL-W_F* Split current window in two. Edit file name under cursor and - jump to the line number following the file name. See |gF| for + jump to the line number following the file name. See |gF| for details on how the line number is obtained. CTRL-W gf *CTRL-W_gf* @@ -1217,23 +1217,24 @@ list of buffers. |unlisted-buffer| Actually, the buffer isn't completely deleted, it is removed from the buffer list |unlisted-buffer| and option values, variables and mappings/abbreviations for the buffer are - cleared. Examples: > + cleared. Examples: > :.,$-bdelete " delete buffers from the current one to " last but one :%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* @@ -1244,7 +1245,7 @@ list of buffers. |unlisted-buffer| related to the buffer is lost. All marks in this buffer become invalid, option settings are lost, the jumplist and tagstack data will be purged, etc. Don't use this - unless you know what you are doing. Examples: > + unless you know what you are doing. Examples: > :.+,$bwipeout " wipe out all buffers after the current " one :%bwipeout " wipe out all buffers @@ -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 @@ -1428,7 +1430,7 @@ help Contains a help file. Will only be created with the |:help| and can't be changed. The 'buflisted' option will be reset for a help buffer. -terminal A terminal window buffer, see |terminal|. The contents cannot +terminal A terminal window buffer, see |terminal|. The contents cannot be read or changed until the job ends. directory Displays directory contents. Can be used by a file explorer