Skip to content

Commit 3cf187e

Browse files
authored
Merge pull request #2371 from h-east/update-motion
Update motion.{txt,jax}
2 parents 6862b34 + 26e04e6 commit 3cf187e

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

doc/motion.jax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
1+
*motion.txt* For Vim バージョン 9.1. Last change: 2025 Oct 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar

en/motion.txt

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 9.1. Last change: 2025 Aug 06
1+
*motion.txt* For Vim version 9.1. Last change: 2025 Oct 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -66,7 +66,7 @@ the two counts are multiplied. For example: "2d3w" deletes six words.
6666
*operator-doubled*
6767
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`
69-
deletes three lines. A count before and after the first character is
69+
deletes three lines. A count before and after the first character is
7070
multiplied, thus `2y3y` yanks six lines.
7171
*operator-resulting-pos*
7272
After applying the operator the cursor is mostly left at the start of the text
@@ -300,11 +300,11 @@ T{char} Till after [count]'th occurrence of {char} to the
300300
{char} can be entered like with the |f| command.
301301

302302
*;*
303-
; Repeat latest f, t, F or T [count] times. See |cpo-;|
303+
; Repeat latest f, t, F or T [count] times. See |cpo-;|
304304

305305
*,*
306306
, Repeat latest f, t, F or T in opposite direction
307-
[count] times. See also |cpo-;|
307+
[count] times. See also |cpo-;|
308308

309309
==============================================================================
310310
3. Up-down motions *up-down-motions*
@@ -625,11 +625,11 @@ ab "a block", select [count] blocks, from "[count] [(" to
625625

626626
i) *v_i)* *i)* *i(*
627627
i( *vib* *v_ib* *v_i(* *ib*
628-
ib "inner block", select [count] blocks, from "[count] [("
629-
to the matching ')', excluding the '(' and ')' (see
630-
|[(|). If the cursor is not inside a () block, then
631-
find the next "(". It's an error to select an empty
632-
inner block like "()". The |cpo-M| option flag
628+
ib "inner block", select [count] blocks, from "[count]
629+
[(" to the matching ')', excluding the '(' and ')'
630+
(see |[(|). If the cursor is not inside a () block,
631+
then find the next "(". It's an error to select an
632+
empty inner block like "()". The |cpo-M| option flag
633633
is used to handle escaped parenthesis.
634634
When used in Visual mode it is made characterwise.
635635

@@ -673,11 +673,11 @@ aB "a Block", select [count] Blocks, from "[count] [{" to
673673

674674
i} *v_i}* *i}* *i{*
675675
i{ *v_iB* *v_i{* *iB*
676-
iB "inner Block", select [count] Blocks, from "[count] [{"
677-
to the matching '}', excluding the '{' and '}' (see
678-
|[{|). It's an error to select an empty inner block
679-
like "{}". The |cpo-M| option flag is used to handle
680-
escaped braces.
676+
iB "inner Block", select [count] Blocks, from "[count]
677+
[{" to the matching '}', excluding the '{' and '}'
678+
(see |[{|). It's an error to select an empty inner
679+
block like "{}". The |cpo-M| option flag is used to
680+
handle escaped braces.
681681
When used in Visual mode it is made characterwise.
682682

683683
a" *v_aquote* *aquote*
@@ -876,9 +876,9 @@ buffer list. If you remove the file from the buffer list, all its marks are
876876
lost. If you delete a line that contains a mark, that mark is erased.
877877

878878
Lowercase marks can be used in combination with operators. For example: "d't"
879-
deletes the lines from the cursor position to mark 't'. Hint: Use mark 't' for
880-
Top, 'b' for Bottom, etc.. Lowercase marks are restored when using undo and
881-
redo.
879+
deletes the lines from the cursor position to mark 't'. Hint: Use mark 't'
880+
for Top, 'b' for Bottom, etc.. Lowercase marks are restored when using undo
881+
and redo.
882882

883883
Uppercase marks 'A to 'Z include the file name. You can use them to jump from
884884
file to file. You can only use an uppercase mark with an operator if the mark
@@ -1159,9 +1159,9 @@ stored in the viminfo file and restored when starting Vim.
11591159
*jumplist-stack*
11601160
When 'jumpoptions' option includes "stack", the jumplist behaves like the tag
11611161
stack. When jumping to a new location from the middle of the jumplist, the
1162-
locations after the current position will be discarded. With this option set
1163-
you can move through a tree of jump locations. When going back up a branch and
1164-
then down another branch, CTRL-O still takes you further up the tree.
1162+
locations after the current position will be discarded. With this option set
1163+
you can move through a tree of jump locations. When going back up a branch
1164+
and then down another branch, CTRL-O still takes you further up the tree.
11651165

11661166
Given a jumplist like the following in which CTRL-O has been used to move back
11671167
three times to location X: >
@@ -1263,7 +1263,7 @@ remembered.
12631263

12641264
*%*
12651265
% Find the next item in this line after or under the
1266-
cursor and jump to its match. |inclusive| motion.
1266+
cursor and jump to its match. |inclusive| motion.
12671267
Items can be:
12681268
([{}]) parenthesis or (curly/square) brackets
12691269
(this can be changed with the
@@ -1334,13 +1334,13 @@ bring you back to the switch statement.
13341334
similar structured language). When not after the
13351335
start of a method, jump to the start or end of the
13361336
class. When no '{' is found before the cursor this is
1337-
an error. |exclusive| motion.
1337+
an error. |exclusive| motion.
13381338
*[M*
13391339
[M Go to [count] previous end of a method (for Java or
13401340
similar structured language). When not after the
13411341
end of a method, jump to the start or end of the
13421342
class. When no '}' is found before the cursor this is
1343-
an error. |exclusive| motion.
1343+
an error. |exclusive| motion.
13441344

13451345
The above four commands assume that the file contains a class with methods.
13461346
The class definition is surrounded in '{' and '}'. Each method in the class
@@ -1375,7 +1375,8 @@ Using "3[m" will jump to the start of the class.
13751375

13761376
These two commands work in C programs that contain #if/#else/#endif
13771377
constructs. It brings you to the start or end of the #if/#else/#endif where
1378-
the current line is included. You can then use "%" to go to the matching line.
1378+
the current line is included. You can then use "%" to go to the matching
1379+
line.
13791380

13801381
*[star* *[/*
13811382
[* or [/ Go to [count] previous start of a C comment "/*".

0 commit comments

Comments
 (0)