Skip to content

Commit f239112

Browse files
authored
Merge pull request #2395 from h-east/update-options
Update options.{txt,jax}
2 parents fa5ad6c + 7079d8b commit f239112

File tree

2 files changed

+30
-38
lines changed

2 files changed

+30
-38
lines changed

doc/options.jax

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,30 +1959,26 @@ Note 1番目の形式では、行全体がオプション指定に使われる
19591959
後に指定しなければならない。
19601960

19611961
*'clipmethod'* *'cpm'*
1962-
'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11,gui,other",
1963-
VMS: "x11,gui,other",
1964-
その他: "gui,other")
1962+
'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11",
1963+
VMS: "x11",
1964+
その他: "")
19651965
グローバル
1966-
{|+clipboard| 機能付きでコンパイルされたときのみ有効}
1966+
{|+xterm_clipboard| または |+wayland_clipboard| 機能付
1967+
きでコンパイルされたもののみ有効}
19671968
システムクリップボードへのアクセス方法を指定する。先に動作したメソッ
19681969
ド、または利用可能なメソッドに応じて使用される。サポートされているメ
19691970
ソッドは以下のとおり:
19701971
wayland Wayland セレクション
19711972
x11 X11 セレクション
1972-
gui GUI 固有のメソッド
1973-
other その他のメソッド
1974-
* クリップボードプロバイダのメソッド
19751973

1976-
Note: "other" は GUI なしで Vim を実行している場合の、MS-Windows や
1977-
MacOS など、X11/Wayland がないシステム使用される。
1978-
1979-
Note クリップボードプロバイダを使用する場合は、そのプロバイダの名前を
1980-
使用する必要がある。詳細については、|clipboard-providers| を参照。
1974+
Note: このオプションは、GUI が動作している場合、または Windows や
1975+
macOS など Wayland や X11 がサポートされていないシステムで Vim を実行
1976+
している場合には無視される。代わりに、GUI やシステムのクリップボードア
1977+
クセス方法が常に使用される。
19811978

19821979
オプションの値は、コンマ区切りの項目のリストである。リストは左から右へ
19831980
と順に解析され、Vim が最初に利用可能または動作していると判断するメソッ
1984-
ドが、クリップボードへのアクセスに実際に使用される。このオプションを空
1985-
の値に設定すると、すべてのシステムでクリップボード機能が無効になる。
1981+
ドが、クリップボードへのアクセスに実際に使用される。
19861982

19871983
現在使用されているメソッドは |v:clipmethod| 変数で確認できる。
19881984

@@ -5185,10 +5181,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
51855181
{|+extra_search| 機能付きでコンパイルされたときのみ有
51865182
効}
51875183
検索コマンドを打ち込んでいる間にも、打ち込んだところまでのパターンが
5188-
マッチするテキストを、すぐに表示する。マッチした文字列は強調表示され
5189-
る。パターンが不適切であったり見つからなければ、何も表示されない。画面
5190-
は次々更新されることになるので、このオプションは表示の速いターミナルで
5191-
のみ有用である
5184+
マッチするテキストを、すぐに表示する ({offset} および {address} 修飾子
5185+
は無視される)。マッチした文字列は強調表示される。パターンが不適切であっ
5186+
たり見つからなければ、何も表示されない。画面は次々更新されることになる
5187+
ので、このオプションは表示の速いターミナルでのみ有用である
51925188
コマンドのパターンにも適用される: >
51935189
:global
51945190
:lvimgrep

en/options.txt

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,35 +1907,30 @@ A jump table for the options with a short description can be found at |Q_op|.
19071907
{pattern}, this must be the last entry.
19081908

19091909
*'clipmethod'* *'cpm'*
1910-
'clipmethod' 'cpm' string (default for Unix: "wayland,x11,gui,other",
1911-
for VMS: "x11,gui,other",
1912-
otherwise: "gui,other")
1910+
'clipmethod' 'cpm' string (default for Unix: "wayland,x11",
1911+
for VMS: "x11",
1912+
otherwise: "")
19131913
global
1914-
{only when the |+clipboard| feature is included}
1914+
{only when the |+xterm_clipboard| or
1915+
|+wayland_clipboard| features are included}
19151916
Specifies which method of accessing the system clipboard is used,
19161917
depending on which method works first or is available. Supported
19171918
methods are:
19181919
wayland Wayland selections
19191920
x11 X11 selections
1920-
gui GUI specific method
1921-
other Some other method
1922-
* Clipboard provider method
19231921

1924-
Note: "other" is used on systems without X11/Wayland, such as
1925-
MS-Windows or MacOS, when running Vim without the GUI.
1926-
1927-
Note that the name of the clipboard provider should be used when you
1928-
want to use a clipboard provider. See |clipboard-providers| for more
1929-
information.
1922+
Note: This option is ignored when either the GUI is running or if Vim
1923+
is run on a system without Wayland or X11 support, such as Windows or
1924+
macOS. The GUI or system way of accessing the clipboard is always
1925+
used instead.
19301926

19311927
The option value is a list of comma separated items. The list is
19321928
parsed left to right in order, and the first method that Vim
19331929
determines is available or is working is used as the actual method for
1934-
accessing the clipboard. Setting this option to an empty value
1935-
disables the clipboard functionality on all systems.
1930+
accessing the clipboard.
19361931

1937-
The current method that is being used can be found in the
1938-
|v:clipmethod| variable.
1932+
The current method that is being used can be found in the |v:clipmethod|
1933+
variable.
19391934

19401935
*'cmdheight'* *'ch'*
19411936
'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|.
51295124
{not available when compiled without the
51305125
|+extra_search| features}
51315126
While typing a search command, show where the pattern, as it was typed
5132-
so far, matches. The matched string is highlighted. If the pattern
5133-
is invalid or not found, nothing is shown. The screen will be updated
5134-
often, this is only useful on fast terminals.
5127+
so far, matches (ignoring {offset} and {address} modifiers). The
5128+
matched string is highlighted. If the pattern is invalid or not
5129+
found, nothing is shown. The screen will be updated often, this is
5130+
only useful on fast terminals.
51355131
Also applies to the pattern in commands: >
51365132
:global
51375133
:lvimgrep

0 commit comments

Comments
 (0)