Skip to content

Commit de99759

Browse files
authored
Merge pull request #1616 from vim-jp/hh-update-motion
Update motion.{txt,jax}
2 parents 4dce3ac + 66af4f0 commit de99759

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

doc/motion.jax

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 9.1. Last change: 2023 Dec 27
1+
*motion.txt* For Vim バージョン 9.1. Last change: 2024 Jul 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -352,8 +352,9 @@ gg [count] 行目の最初の非空白文字に移動します(行単位
352352
します。
353353

354354
*:[range]*
355-
:[range] [range] 内の最後の行へカーソルを移動します。[range]
356-
は単に 1 個の数字であってもかまいません。例: ":1" や
355+
:[range] [range] 内の最後の行へカーソルを移動します。
356+
Ex モードでは、[range] 内の行を表示します。
357+
[range] は単一の行番号だけでも構いません。例: ":1" や
357358
":'m"。
358359
|G| と違ってこのコマンドはジャンプリスト (|jumplist|)
359360
を変更しません。
@@ -432,7 +433,7 @@ WORD は非空白文字の連続で構成され、ホワイトスペースで区
432433

433434
特殊なケース: カーソルが非空白文字の上にあれば "cw" と "cW" は "ce" と "cE" の
434435
ように扱われます。これは "cw" が単語を変更するコマンドだと解釈されるからで、単
435-
語には続くホワイトスペースは含まれていないからです。
436+
語には続くホワイトスペースは含まれていないからです (|cw| も参照)
436437

437438
もう一つの特殊なケース: オペレータコマンドと移動コマンド "w" を組み合わせたと
438439
きカーソルがその上を移動した最後の単語が行末にあった場合、その単語の終わりがオ

en/motion.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 9.1. Last change: 2023 Dec 27
1+
*motion.txt* For Vim version 9.1. Last change: 2024 Jul 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -351,6 +351,7 @@ gg Goto line [count], default first line, on the first
351351

352352
*:[range]*
353353
:[range] Set the cursor on the last line number in [range].
354+
In Ex mode, print the lines in [range].
354355
[range] can also be just one line number, e.g., ":1"
355356
or ":'m".
356357
In contrast with |G| this command does not modify the
@@ -433,7 +434,7 @@ WORD before the fold.
433434

434435
Special case: "cw" and "cW" are treated like "ce" and "cE" if the cursor is
435436
on a non-blank. This is because "cw" is interpreted as change-word, and a
436-
word does not include the following white space.
437+
word does not include the following white space (see also |cw|).
437438

438439
Another special case: When using the "w" motion in combination with an
439440
operator and the last word moved over is at the end of a line, the end of

0 commit comments

Comments
 (0)