diff --git a/doc/options.jax b/doc/options.jax index 1f22d1487..117700d45 100644 --- a/doc/options.jax +++ b/doc/options.jax @@ -1,4 +1,4 @@ -*options.txt* For Vim バージョン 9.1. Last change: 2024 Dec 14 +*options.txt* For Vim バージョン 9.1. Last change: 2024 Dec 28 VIMリファレンスマニュアル by Bram Moolenaar @@ -5124,11 +5124,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる オプションの値は、コンマで区切られた項目のリストである。各項目は、 'term' オプションとマッチするパターン、コロン、使用されるプロトコル名 を持つ。これを説明するために、デフォルト値を次のように設定する: > - set keyprotocol=kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2 + set keyprotocol=kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty + set keyprotocol+=xterm:mok2 -< つまり、'term' のどこかに "kitty", "foot", "wezterm" が含まれている場 - 合は、"kitty" プロトコルが使われる。'term' のどこかに "xterm" が含まれ - ている場合は、"mok2" プロトコルが使われる。 +< つまり、'term' のどこかに "kitty", "foot", "ghostty", "wezterm" が含ま + れている場合は、"kitty" プロトコルが使われる。'term' のどこかに + "xterm" が含まれている場合は、"mok2" プロトコルが使われる。 最初にマッチしたものが使用されるので、"kitty" には kitty プロトコルを 使用させたいが、"badkitty" には使用させたくない場合は、まず "badkitty" diff --git a/en/options.txt b/en/options.txt index 7c32384e1..489415c78 100644 --- a/en/options.txt +++ b/en/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.1. Last change: 2024 Dec 14 +*options.txt* For Vim version 9.1. Last change: 2024 Dec 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5072,11 +5072,12 @@ A jump table for the options with a short description can be found at |Q_op|. a pattern that is matched against the 'term' option, a colon and the protocol name to be used. To illustrate this, the default value would be set with: > - set keyprotocol=kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2 + set keyprotocol=kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty + set keyprotocol+=xterm:mok2 -< This means that when 'term' contains "kitty, "foot" or "wezterm" - somewhere then the "kitty" protocol is used. When 'term' contains - "xterm" somewhere, then the "mok2" protocol is used. +< This means that when 'term' contains "kitty, "foot", "ghostty" or + "wezterm" somewhere, then the "kitty" protocol is used. When 'term' + contains "xterm" somewhere, then the "mok2" protocol is used. The first match is used, thus if you want to have "kitty" use the kitty protocol, but "badkitty" not, then you should match "badkitty"