Skip to content

Commit 447f51e

Browse files
authored
Merge pull request #1599 from vim-jp/hh-update-change
Update change.{txt,jax}
2 parents c729145 + c1377ad commit 447f51e

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

doc/change.jax

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim バージョン 9.1. Last change: 2024 May 18
1+
*change.txt* For Vim バージョン 9.1. Last change: 2024 Jun 23
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1232,18 +1232,20 @@ Note 文字単位のコピーコマンドの後、コピーされたテキスト
12321232
2. 番号付きレジスタ "0 から "9 *quote_number* *quote0* *quote1*
12331233
*quote2* *quote3* *quote4* *quote9*
12341234
これらのレジスタには、コピーや削除コマンドによってテキストが蓄えられる。
1235-
番号付きレジスタの 0 には、一番最近にコピーしたテキストが蓄えられるが、コピー
1236-
の際に ["x] として別のレジスタ名を指定したときは、これには蓄えられない。
1237-
番号付きレジスタ 1 には、一番最近に削除したり変更したテキストが蓄えられるが、
1238-
コマンドに別のレジスタ名を指定したり、削除や変更したテキストが1行以下だったり
1239-
したときは、これには蓄えられない (そのときは小削除用レジスタが使われる)。例外
1240-
は、以下の移動コマンドと削除コマンドを組み合わせたときである。|%|, |(|, |)|,
1241-
|`|, |/|, |?|, |n|, |N|, |{|, |}|。このときは必ずレジスタ "1 が使われる (これ
1242-
はVi互換の動作である)。削除や変更したテキストが1行以下だったときは、レジスタ
1243-
"- も使われる。 Note: これらの文字はマップ可能である。例: |%| は matchit プラ
1244-
グインによってマップされている。
1245-
削除や変更が行われるたびに、レジスタ 1 の内容はレジスタ 2 に、レジスタ 2 の内
1246-
容はレジスタ 3 に、という風にずれていく。レジスタ 9 の内容は失われる。
1235+
番号付きレジスタの 0 には、一番最近にコピーしたテキストが蓄えられるが、コ
1236+
ピーの際に ["x] として別のレジスタ名を指定したときは、これには蓄えられない。
1237+
番号付きレジスタ 1 には、一番最近に削除したり変更したテキストが蓄えられる
1238+
(コマンドが別のレジスタを指定している場合でも) が、コマンドに別のレジスタ名を
1239+
指定したり、削除や変更したテキストが1行以下だったりしたときは、これには蓄えら
1240+
れない (そのときは小削除用レジスタが使われる)。例外は、以下の移動コマンドと削
1241+
除コマンドを組み合わせたときである。|%|, |(|, |)|, |`|, |/|, |?|, |n|, |N|,
1242+
|{|, |}|
1243+
このときは必ずレジスタ "1 が使われる (これはVi互換の動作である)。削除や変更し
1244+
たテキストが1行以下だったときは、レジスタ "- も使われる。Note これらの文字は
1245+
マップされるかもしれない。例: |%| は matchit プラグインによってマップされてい
1246+
る。
1247+
削除や変更が行われるたびに、レジスタ 1 の内容はレジスタ 2 に、レジスタ 2 の
1248+
内容はレジスタ 3 に、という風にずれていく。レジスタ 9 の内容は失われる。
12471249
{Vi では番号付きレジスタの内容はファイルを変更する際に失われる。レジスタ 0 は
12481250
ない}
12491251

en/change.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 9.1. Last change: 2024 May 18
1+
*change.txt* For Vim version 9.1. Last change: 2024 Jun 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1272,13 +1272,13 @@ Vim fills these registers with text from yank and delete commands.
12721272
Numbered register 0 contains the text from the most recent yank command,
12731273
unless the command specified another register with ["x].
12741274
Numbered register 1 contains the text deleted by the most recent delete or
1275-
change command, unless the command specified another register or the text is
1276-
less than one line (the small delete register is used then). An exception is
1277-
made for the delete operator with these movement commands: |%|, |(|, |)|, |`|,
1278-
|/|, |?|, |n|, |N|, |{| and |}|. Register "1 is always used then (this is Vi
1279-
compatible). The "- register is used as well if the delete is within a line.
1280-
Note that these characters may be mapped. E.g. |%| is mapped by the matchit
1281-
plugin.
1275+
change command (even when the command specified another register), unless the
1276+
text is less than one line (the small delete register is used then). An
1277+
exception is made for the delete operator with these movement commands: |%|,
1278+
|(|, |)|, |`|, |/|, |?|, |n|, |N|, |{| and |}|.
1279+
Register "1 is always used then (this is Vi compatible). The "- register is
1280+
used as well if the delete is within a line. Note that these characters may be
1281+
mapped. E.g. |%| is mapped by the matchit plugin.
12821282
With each successive deletion or change, Vim shifts the previous contents
12831283
of register 1 into register 2, 2 into 3, and so forth, losing the previous
12841284
contents of register 9.

0 commit comments

Comments
 (0)