Skip to content

Commit 1e45056

Browse files
authored
Merge pull request #1898 from h-east/update-options
Update options.{txt,jax}
2 parents 7bbf11f + ca2d5dc commit 1e45056

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

doc/options.jax

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2024 Dec 14
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Dec 28
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -5124,11 +5124,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
51245124
オプションの値は、コンマで区切られた項目のリストである。各項目は、
51255125
'term' オプションとマッチするパターン、コロン、使用されるプロトコル名
51265126
を持つ。これを説明するために、デフォルト値を次のように設定する: >
5127-
set keyprotocol=kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2
5127+
set keyprotocol=kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty
5128+
set keyprotocol+=xterm:mok2
51285129

5129-
< つまり、'term' のどこかに "kitty", "foot", "wezterm" が含まれている場
5130-
合は、"kitty" プロトコルが使われる。'term' のどこかに "xterm" が含まれ
5131-
ている場合は、"mok2" プロトコルが使われる。
5130+
< つまり、'term' のどこかに "kitty", "foot", "ghostty", "wezterm" が含ま
5131+
れている場合は、"kitty" プロトコルが使われる。'term' のどこかに
5132+
"xterm" が含まれている場合は、"mok2" プロトコルが使われる。
51325133

51335134
最初にマッチしたものが使用されるので、"kitty" には kitty プロトコルを
51345135
使用させたいが、"badkitty" には使用させたくない場合は、まず "badkitty"

en/options.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Dec 14
1+
*options.txt* For Vim version 9.1. Last change: 2024 Dec 28
22

33

44
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|.
50725072
a pattern that is matched against the 'term' option, a colon and the
50735073
protocol name to be used. To illustrate this, the default value would
50745074
be set with: >
5075-
set keyprotocol=kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2
5075+
set keyprotocol=kitty:kitty,foot:kitty,ghostty:kitty,wezterm:kitty
5076+
set keyprotocol+=xterm:mok2
50765077
5077-
< This means that when 'term' contains "kitty, "foot" or "wezterm"
5078-
somewhere then the "kitty" protocol is used. When 'term' contains
5079-
"xterm" somewhere, then the "mok2" protocol is used.
5078+
< This means that when 'term' contains "kitty, "foot", "ghostty" or
5079+
"wezterm" somewhere, then the "kitty" protocol is used. When 'term'
5080+
contains "xterm" somewhere, then the "mok2" protocol is used.
50805081

50815082
The first match is used, thus if you want to have "kitty" use the
50825083
kitty protocol, but "badkitty" not, then you should match "badkitty"

0 commit comments

Comments
 (0)