Skip to content

Commit 9240ccf

Browse files
authored
Merge pull request #1728 from vim-jp/hh-update-motion
Update motion.{txt,jax}
2 parents c74ebc3 + 898fa6a commit 9240ccf

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

doc/motion.jax

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
1+
*motion.txt* For Vim バージョン 9.1. Last change: 2024 Oct 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -70,10 +70,13 @@
7070
ントを使用すると、その分の行が対象になります。したがって、`3dd` は3行を削除し
7171
ます。最初の文字の前と後ろのカウントは掛け合わされるため、`2y3y` は6行をヤンク
7272
します。
73-
73+
*operator-resulting-pos*
7474
オペレータが終了すると、カーソルはだいたいオペレータを受けたテキストの始めに置
7575
かれます。例えば、"yfe" はカーソルを動かしませんが、"yFe" はカーソルをヤンクの
7676
スタートした "e" の左側に移動します。
77+
'startofline' オプションは、"d"、"<<"、"==" および ">>" の行単位オペレーション
78+
にのみ適用されます。
79+
7780
*linewise* *characterwise*
7881
オペレータは行全体もしくは開始位置と終了位置の間の文字に対して施されます。一般
7982
的に、行をまたいで移動するコマンドは行に対して施され(行単位)、行内を移動するコ

en/motion.txt

Lines changed: 4 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: 2024 Oct 05
1+
*motion.txt* For Vim version 9.1. Last change: 2024 Oct 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -68,10 +68,12 @@ When doubling the operator it operates on a line. When using a count, before
6868
or after the first character, that many lines are operated upon. Thus `3dd`
6969
deletes three lines. A count before and after the first character is
7070
multiplied, thus `2y3y` yanks six lines.
71-
71+
*operator-resulting-pos*
7272
After applying the operator the cursor is mostly left at the start of the text
7373
that was operated upon. For example, "yfe" doesn't move the cursor, but "yFe"
7474
moves the cursor leftwards to the "e" where the yank started.
75+
The 'startofline' option applies only to the "d", "<<", "==" and ">>" linewise
76+
operations.
7577

7678
*linewise* *characterwise*
7779
The operator either affects whole lines, or the characters between the start

0 commit comments

Comments
 (0)