Skip to content

Update editing.{txt,jax} #2025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions doc/editing.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim バージョン 9.1. Last change: 2024 Oct 14
*editing.txt* For Vim バージョン 9.1. Last change: 2025 Apr 03


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -968,8 +968,9 @@ Note: オプション 'write' がオフのときは、どのファイルも書
前の空白に注意)。{cmd} は ":!{cmd}" のように実行され、
全ての '!' は前回のコマンドに置き換えられる |:!|。

コマンド ":w" での [range] の既定値はバッファ全体 (1,$) である。バッファ全体を
書き込むと、そのバッファは変更されていないとみなされるようになる。
コマンド ":w" での [range] の既定値はバッファ全体 (1,$) である。|'[| および
|']| マークは、書き込みコマンドに使用される [range] に設定される。バッファ全体
を書き込むと、そのバッファは変更されていないとみなされるようになる。
":w somefile" によって別のファイルに書き出した場合は、'cpoptions' の "+" フラ
グに依存する。"+" が含まれている場合は、バッファがまだ元のファイルと異なってい
たとしても、書き込みコマンドによって 'modified' フラグがオフになる。
Expand Down
7 changes: 4 additions & 3 deletions en/editing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim version 9.1. Last change: 2024 Oct 14
*editing.txt* For Vim version 9.1. Last change: 2025 Apr 03


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -974,8 +974,9 @@ Note: When the 'write' option is off, you are not able to write any file.
executed like with ":!{cmd}", any '!' is replaced with
the previous command |:!|.

The default [range] for the ":w" command is the whole buffer (1,$). If you
write the whole buffer, it is no longer considered changed. When you
The default [range] for the ":w" command is the whole buffer (1,$). The |'[|
and |']| marks will be set to the [range] being used for the write command.
If you write the whole buffer, it is no longer considered changed. When you
write it to a different file with ":w somefile" it depends on the "+" flag in
'cpoptions'. When included, the write command will reset the 'modified' flag,
even though the buffer itself may still be different from its file.
Expand Down