Skip to content

Commit cfdf905

Browse files
committed
Update options.{txt,jax}
1 parent 28299e6 commit cfdf905

File tree

2 files changed

+63
-20
lines changed

2 files changed

+63
-20
lines changed

doc/options.jax

+29-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2024 Jan 30
1+
*options.txt* For Vim バージョン 9.1. Last change: 2024 Mar 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -395,13 +395,20 @@ Note: 以下は |global-local| オプションにも適用される。
395395
グローバルオプションに対しては、グローバルな値が表示さ
396396
れる (しかし、これは将来変更されるかもしれない)。
397397

398+
:se[t] {option}< {option} の実効値をそのグローバル値に設定する。
399+
文字列の |global-local| オプションの場合、ローカル値は
400+
削除され、グローバル値が使用されるようになる。
401+
他のすべてのオプションの場合、グローバル値がローカル値
402+
にコピーされる。
398403

399-
:setl[ocal] {option}< 値をコピーすることによって{option}のローカルな値をグ
400-
ローバルな値と同じにする。
404+
:setl[ocal] {option}< {option} の実効値をそのグローバル値に設定する。
405+
数値および真偽値の |global-local| オプションの場合、
406+
ローカル値が削除され、グローバル値が使用される。
407+
文字列の |global-local| オプションを含む他のすべてのオ
408+
プションでは、グローバル値がローカル値にコピーされる。
401409

402-
:se[t] {option}< |global-local| オプションに対して: {option} のローカル
403-
値を削除する。そうすることでグローバル値が使われるよう
404-
になる。
410+
Note |global-local| オプションの挙動は、文字列ベースのオプションと数値ベースの
411+
オプションでは若干異なることに注意。
405412

406413
*:setg* *:setglobal*
407414
:setg[lobal][!] ... コマンド ":set" と似ているが、ローカルオプションのグロー
@@ -4034,7 +4041,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
40344041
*'guiligatures'* *'gli'* *E1243*
40354042
'guiligatures' 'gli' 文字列 (既定では "")
40364043
グローバル
4037-
{GTK GUIでのみ有効}
4044+
{GTK および Win32 GUI でのみ有効}
40384045
より複雑な形状を作るために結合して利用できるASCII文字セットのリスト。
40394046
各文字は値が32-127の範囲内の印字可能なASCIIの文字。
40404047
例: >
@@ -6481,7 +6488,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
64816488
のオンのままにしておくこと。昔の Vi スクリプトを使うときだけこれをオフ
64826489
にすること。
64836490

6484-
*'renderoptions'* *'rop'*
6491+
*'renderoptions'* *'rop'*
64856492
'renderoptions' 'rop' 文字列 (既定では空)
64866493
グローバル
64876494
{Vim が MS-Windows で GUI と DIRECTX 付きでコンパイル
@@ -7273,8 +7280,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
72737280
中にメッセージを表示しない
72747281
q "記録中 @a" の代わりに "記録中" を表示 *shm-q*
72757282
F コマンドに対する |:silent| のように、ファイルを編集中 *shm-F*
7276-
にファイル情報を表示しない。note これは autocommand からのメッ
7277-
セージにも影響する
7283+
にファイル情報を表示しない。note これは autocommand および
7284+
'autoread' の再読み込みからのメッセージにも影響する
72787285
S 検索時に検索件数メッセージを表示しない。例えば "[1/5]" *shm-S*
72797286
{訳注: 以下日本語メッセージの場合:
72807287
"[Incomplete last line]" "[最終行が不完全]"
@@ -8055,6 +8062,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる
80558062
両方指定された場合はこちらが優先される。
80568063
uselast これが含まれていると、|quickfix| コマンドでエラーにジャ
80578064
ンプするときに、前に使われたウィンドウにジャンプする。
8065+
ウィンドウで 'winfixbuf' が有効になっている場合、'switchbuf' は現在の
8066+
ところ分割ウィンドウには適用されない。
80588067

80598068
*'synmaxcol'* *'smc'*
80608069
'synmaxcol' 'smc' 数値 (既定では 3000)
@@ -9496,6 +9505,16 @@ Note 1番目の形式では、行全体がオプション指定に使われる
94969505
Note: Vim のウィンドウの高さと混同しないこと。それには 'lines' を利用
94979506
する。
94989507

9508+
*'winfixbuf'*
9509+
'winfixbuf' 'wfb' 切替 (既定ではオフ)
9510+
ウィンドウについてローカル
9511+
有効にすると、バッファとそれを表示するウィンドウがペアになる。
9512+
例えば、|:edit| を使用してバッファを変更しようとすると失敗する。
9513+
ウィンドウのバッファを変更する |:cnext| のような他のコマンドも
9514+
'winfixbuf' が有効なウィンドウをスキップする。ただし、コマンドに "!"
9515+
オプションが含まれている場合は、ウィンドウのバッファを強制的に切り替え
9516+
ることができる。
9517+
94999518
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
95009519
'winfixheight' 'wfh' 切替 (既定ではオフ)
95019520
ウィンドウについてローカル |local-noglobal|

en/options.txt

+34-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Jan 30
1+
*options.txt* For Vim version 9.1. Last change: 2024 Mar 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -365,11 +365,24 @@ created, thus they behave slightly differently:
365365
For a global option the global value is
366366
shown (but that might change in the future).
367367

368-
:setl[ocal] {option}< Set the local value of {option} to its global value by
369-
copying the value.
370-
371-
:se[t] {option}< For |global-local| options: Remove the local value of
372-
{option}, so that the global value will be used.
368+
:se[t] {option}< Set the effective value of {option} to its global
369+
value.
370+
For string |global-local| options, the local value is
371+
removed, so that the global value will be used.
372+
For all other options, the global value is copied to
373+
the local value.
374+
375+
:setl[ocal] {option}< Set the effective value of {option} to its global
376+
value.
377+
For number and boolean |global-local| options, the
378+
local value is removed, so that the global value will
379+
be used.
380+
For all other options, including string |global-local|
381+
options, the global value is copied to the local
382+
value.
383+
384+
Note that the behaviour for |global-local| options is slightly different
385+
between string and number-based options.
373386

374387
*:setg* *:setglobal*
375388
:setg[lobal][!] ... Like ":set" but set only the global value for a local
@@ -2919,7 +2932,7 @@ A jump table for the options with a short description can be found at |Q_op|.
29192932
Use the indent heuristic for the internal
29202933
diff library.
29212934

2922-
algorithm:{text} Use the specified diff algorithm with the
2935+
algorithm:{text} Use the specified diff algorithm with the
29232936
internal diff engine. Currently supported
29242937
algorithms are:
29252938
myers the default algorithm
@@ -4000,7 +4013,7 @@ A jump table for the options with a short description can be found at |Q_op|.
40004013
*'guiligatures'* *'gli'* *E1243*
40014014
'guiligatures' 'gli' string (default "")
40024015
global
4003-
{only for GTK GUI}
4016+
{only for GTK and Win32 GUI}
40044017
List of ASCII characters that, when combined together, can create more
40054018
complex shapes. Each character must be a printable ASCII character
40064019
with a value in the 32-127 range.
@@ -6454,7 +6467,7 @@ A jump table for the options with a short description can be found at |Q_op|.
64546467
this option at the default "on". Only switch it off when working with
64556468
old Vi scripts.
64566469

6457-
*'renderoptions'* *'rop'*
6470+
*'renderoptions'* *'rop'*
64586471
'renderoptions' 'rop' string (default: empty)
64596472
global
64606473
{only available when compiled with GUI and DIRECTX on
@@ -7240,7 +7253,7 @@ A jump table for the options with a short description can be found at |Q_op|.
72407253
q use "recording" instead of "recording @a" *shm-q*
72417254
F don't give the file info when editing a file, like *shm-F*
72427255
`:silent` was used for the command; note that this also
7243-
affects messages from autocommands
7256+
affects messages from autocommands and 'autoread' reloading
72447257
S do not show search count message when searching, e.g. *shm-S*
72457258
"[1/5]"
72467259

@@ -8008,6 +8021,8 @@ A jump table for the options with a short description can be found at |Q_op|.
80088021
"split" when both are present.
80098022
uselast If included, jump to the previously used window when
80108023
jumping to errors with |quickfix| commands.
8024+
If a window has 'winfixbuf' enabled, 'switchbuf' is currently not
8025+
applied to the split window.
80118026

80128027
*'synmaxcol'* *'smc'*
80138028
'synmaxcol' 'smc' number (default 3000)
@@ -9458,6 +9473,15 @@ A jump table for the options with a short description can be found at |Q_op|.
94589473
Note: Do not confuse this with the height of the Vim window, use
94599474
'lines' for that.
94609475

9476+
*'winfixbuf'*
9477+
'winfixbuf' 'wfb' boolean (default off)
9478+
local to window
9479+
If enabled, the buffer and any window that displays it are paired.
9480+
For example, attempting to change the buffer with |:edit| will fail.
9481+
Other commands which change a window's buffer such as |:cnext| will
9482+
also skip any window with 'winfixbuf' enabled. However if a command
9483+
has an "!" option, a window can be forced to switch buffers.
9484+
94619485
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
94629486
'winfixheight' 'wfh' boolean (default off)
94639487
local to window |local-noglobal|

0 commit comments

Comments
 (0)