Skip to content

Commit 48ea23e

Browse files
authored
Merge pull request #2554 from h-east/update-options
Update options.{txt,jax}
2 parents 33c7532 + 8aaabca commit 48ea23e

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

doc/options.jax

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 01
1+
*options.txt* For Vim バージョン 9.2. Last change: 2026 Apr 03
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -1057,12 +1057,14 @@ Note 1番目の形式では、行全体がオプション指定に使われる
10571057
*'autowrite'* *'aw'* *'noautowrite'* *'noaw'*
10581058
'autowrite' 'aw' 切替 (既定ではオフ)
10591059
グローバル
1060-
コマンド `:next`, `:rewind`, `:last`, `:first`, `:previous`, `:stop`,
1061-
`:suspend`, `:tag`, `:!`, `:make`, `:terminal`, CTRL-], CTRL-^ を実行
1062-
したときや、コマンド `:buffer`, CTRL-O, CTRL-I, '{A-Z0-9}, `{A-Z0-9}
1063-
の移動先が別のファイルのとき、ファイルが変更されているなら書き込む。
1064-
バッファが書き込まれないのは隠れバッファになったときで、例えば
1065-
'bufhidden' が "hide" に設定されていて `:next` が使われたとき。
1060+
`:next`、`:rewind`、`:last`、`:first`、`:previous`、`:tag`、`:stop`、
1061+
`:suspend`、`:!`、`:make`、`:terminal`、CTRL-]、CTRL-^ コマンドが実行
1062+
されるたびに、また `:buffer`、CTRL-O、CTRL-I、'{A-Z0-9}、または
1063+
`{A-Z0-9} コマンドが別のファイルに切り替わるたびに、変更されたファイル
1064+
の内容を書き込む。
1065+
バッファが隠れバッファになった場合、例えば 'bufhidden' が "hide" に設
1066+
定されていて `:next` が使用されたときはバッファへの書き込みは行われな
1067+
い。
10661068
Note 'autowrite' が適用されないコマンドもあることに注意。それについて
10671069
はオプション 'autowriteall' を参照。
10681070
いくつかのバッファは書き込まれない。具体的には 'buftype' が "nowrite",
@@ -1074,12 +1076,10 @@ Note 1番目の形式では、行全体がオプション指定に使われる
10741076
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
10751077
'autowriteall' 'awa' 切替 (既定ではオフ)
10761078
グローバル
1077-
オプション 'autowrite' と似ているが、さらにコマンド ":edit", ":enew",
1078-
":quit", ":qall", ":exit", ":xit", ":recover" を実行したときや、Vimの
1079-
ウィンドウを閉じるときも、ファイルが変更されているなら保存する。このオ
1080-
プションをオンにすると、同時に 'autowrite' もオンになったような動作に
1081-
なる {訳注: このオプションは 'autowrite' の適用されるコマンド全てに適
1082-
用されるので}。
1079+
'autowrite' に似ているが、`:edit`、`:enew`、`:quit`、`:qall`、`:exit`、
1080+
`:xit`、`:recover` コマンドや Vim ウィンドウを閉じる際にも使用される。
1081+
このオプションを設定すると、Vim は 'autowrite' が設定されているかのよ
1082+
うに動作する。
10831083

10841084
*'background'* *'bg'*
10851085
'background' 'bg' 文字列 (既定は "dark" または "light"、下記参照)

en/options.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.2. Last change: 2026 Apr 01
1+
*options.txt* For Vim version 9.2. Last change: 2026 Apr 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1030,10 +1030,10 @@ A jump table for the options with a short description can be found at |Q_op|.
10301030
'autowrite' 'aw' boolean (default off)
10311031
global
10321032
Write the contents of the file, if it has been modified, on each
1033-
`:next`, `:rewind`, `:last`, `:first`, `:previous`, `:stop`,
1034-
`:suspend`, `:tag`, `:!`, `:make`, `:terminal`, CTRL-] and CTRL-^ command; and when
1035-
a `:buffer`, CTRL-O, CTRL-I, '{A-Z0-9}, or `{A-Z0-9} command takes one
1036-
to another file.
1033+
`:next`, `:rewind`, `:last`, `:first`, `:previous`, `:tag`, `:stop`,
1034+
`:suspend`, `:!`, `:make`, `:terminal`, CTRL-] or CTRL-^ command; and
1035+
when a `:buffer`, CTRL-O, CTRL-I, '{A-Z0-9}, or `{A-Z0-9} command
1036+
switches to another file.
10371037
A buffer is not written if it becomes hidden, e.g. when 'bufhidden' is
10381038
set to "hide" and `:next` is used.
10391039
Note that for some commands the 'autowrite' option is not used, see
@@ -1047,8 +1047,8 @@ A jump table for the options with a short description can be found at |Q_op|.
10471047
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
10481048
'autowriteall' 'awa' boolean (default off)
10491049
global
1050-
Like 'autowrite', but also used for commands ":edit", ":enew",
1051-
":quit", ":qall", ":exit", ":xit", ":recover" and closing the Vim
1050+
Like 'autowrite', but also used for commands `:edit`, `:enew`,
1051+
`:quit`, `:qall`, `:exit`, `:xit`, `:recover` and closing the Vim
10521052
window.
10531053
Setting this option also implies that Vim behaves like 'autowrite' has
10541054
been set.

0 commit comments

Comments
 (0)