From addc48ae85054b3a529ea6bb6a722a77ffab7a53 Mon Sep 17 00:00:00 2001 From: h-east Date: Tue, 28 Oct 2025 23:58:19 +0900 Subject: [PATCH 1/2] Update options.{txt,jax} --- doc/options.jax | 32 ++++++++++++++------------------ en/options.txt | 36 ++++++++++++++++-------------------- 2 files changed, 30 insertions(+), 38 deletions(-) diff --git a/doc/options.jax b/doc/options.jax index 2f02f27be..fd7000487 100644 --- a/doc/options.jax +++ b/doc/options.jax @@ -1959,30 +1959,26 @@ Note 1番目の形式では、行全体がオプション指定に使われる 後に指定しなければならない。 *'clipmethod'* *'cpm'* -'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11,gui,other", - VMS: "x11,gui,other", - その他: "gui,other") +'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11", + VMS: "x11", + その他: "") グローバル - {|+clipboard| 機能付きでコンパイルされたときのみ有効} + {|+xterm_clipboard| または |+wayland_clipboard| 機能付 + きでコンパイルされたもののみ有効} システムクリップボードへのアクセス方法を指定する。先に動作したメソッ ド、または利用可能なメソッドに応じて使用される。サポートされているメ ソッドは以下のとおり: wayland Wayland セレクション x11 X11 セレクション - gui GUI 固有のメソッド - other その他のメソッド - * クリップボードプロバイダのメソッド - Note: "other" は GUI なしで Vim を実行している場合の、MS-Windows や - MacOS など、X11/Wayland がないシステム使用される。 - - Note クリップボードプロバイダを使用する場合は、そのプロバイダの名前を - 使用する必要がある。詳細については、|clipboard-providers| を参照。 + Note: このオプションは、GUI が動作している場合、または Windows やmacOS + など Wayland や X11 がサポートされていないシステムで Vim を実行してい + る場合には無視される。代わりに、GUI やシステムのクリップボードアクセス + 方法が常に使用される。 オプションの値は、コンマ区切りの項目のリストである。リストは左から右へ と順に解析され、Vim が最初に利用可能または動作していると判断するメソッ - ドが、クリップボードへのアクセスに実際に使用される。このオプションを空 - の値に設定すると、すべてのシステムでクリップボード機能が無効になる。 + ドが、クリップボードへのアクセスに実際に使用される。 現在使用されているメソッドは |v:clipmethod| 変数で確認できる。 @@ -5185,10 +5181,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる {|+extra_search| 機能付きでコンパイルされたときのみ有 効} 検索コマンドを打ち込んでいる間にも、打ち込んだところまでのパターンが - マッチするテキストを、すぐに表示する。マッチした文字列は強調表示され - る。パターンが不適切であったり見つからなければ、何も表示されない。画面 - は次々更新されることになるので、このオプションは表示の速いターミナルで - のみ有用である。 + マッチするテキストを、すぐに表示する ({offset} および {address} 修飾子 + は無視される)。マッチした文字列は強調表示される。パターンが不適切であっ + たり見つからなければ、何も表示されない。画面は次々更新されることになる + ので、このオプションは表示の速いターミナルでのみ有用である。 コマンドのパターンにも適用される: > :global :lvimgrep diff --git a/en/options.txt b/en/options.txt index f1e2876cf..6bd79fb0c 100644 --- a/en/options.txt +++ b/en/options.txt @@ -1907,35 +1907,30 @@ A jump table for the options with a short description can be found at |Q_op|. {pattern}, this must be the last entry. *'clipmethod'* *'cpm'* -'clipmethod' 'cpm' string (default for Unix: "wayland,x11,gui,other", - for VMS: "x11,gui,other", - otherwise: "gui,other") +'clipmethod' 'cpm' string (default for Unix: "wayland,x11", + for VMS: "x11", + otherwise: "") global - {only when the |+clipboard| feature is included} + {only when the |+xterm_clipboard| or + |+wayland_clipboard| features are included} Specifies which method of accessing the system clipboard is used, depending on which method works first or is available. Supported methods are: wayland Wayland selections x11 X11 selections - gui GUI specific method - other Some other method - * Clipboard provider method - Note: "other" is used on systems without X11/Wayland, such as - MS-Windows or MacOS, when running Vim without the GUI. - - Note that the name of the clipboard provider should be used when you - want to use a clipboard provider. See |clipboard-providers| for more - information. + Note: This option is ignored when either the GUI is running or if Vim + is run on a system without Wayland or X11 support, such as Windows or + macOS. The GUI or system way of accessing the clipboard is always + used instead. The option value is a list of comma separated items. The list is parsed left to right in order, and the first method that Vim determines is available or is working is used as the actual method for - accessing the clipboard. Setting this option to an empty value - disables the clipboard functionality on all systems. + accessing the clipboard. - The current method that is being used can be found in the - |v:clipmethod| variable. + The current method that is being used can be found in the |v:clipmethod| + variable. *'cmdheight'* *'ch'* 'cmdheight' 'ch' number (default 1) @@ -5129,9 +5124,10 @@ A jump table for the options with a short description can be found at |Q_op|. {not available when compiled without the |+extra_search| features} While typing a search command, show where the pattern, as it was typed - so far, matches. The matched string is highlighted. If the pattern - is invalid or not found, nothing is shown. The screen will be updated - often, this is only useful on fast terminals. + so far, matches (ignoring {offset} and {address} modifiers). The + matched string is highlighted. If the pattern is invalid or not + found, nothing is shown. The screen will be updated often, this is + only useful on fast terminals. Also applies to the pattern in commands: > :global :lvimgrep From 7079d8b483c99e18843a2e24258d00989ba1c486 Mon Sep 17 00:00:00 2001 From: h_east Date: Sat, 1 Nov 2025 15:53:09 +0900 Subject: [PATCH 2/2] Update doc/options.jax Co-authored-by: mityu --- doc/options.jax | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/options.jax b/doc/options.jax index fd7000487..f84d088f6 100644 --- a/doc/options.jax +++ b/doc/options.jax @@ -1971,10 +1971,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる wayland Wayland セレクション x11 X11 セレクション - Note: このオプションは、GUI が動作している場合、または Windows やmacOS - など Wayland や X11 がサポートされていないシステムで Vim を実行してい - る場合には無視される。代わりに、GUI やシステムのクリップボードアクセス - 方法が常に使用される。 + Note: このオプションは、GUI が動作している場合、または Windows や + macOS など Wayland や X11 がサポートされていないシステムで Vim を実行 + している場合には無視される。代わりに、GUI やシステムのクリップボードア + クセス方法が常に使用される。 オプションの値は、コンマ区切りの項目のリストである。リストは左から右へ と順に解析され、Vim が最初に利用可能または動作していると判断するメソッ