Skip to content

Commit c94901c

Browse files
authored
Merge pull request #1453 from vim-jp/hh-update-motion
Update motion.{txt,jax}
2 parents da3147d + 8743a0e commit c94901c

File tree

2 files changed

+29
-24
lines changed

2 files changed

+29
-24
lines changed

doc/motion.jax

+17-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim バージョン 9.1. Last change: 2023 Sep 28
1+
*motion.txt* For Vim バージョン 9.1. Last change: 2023 Dec 27
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -597,8 +597,9 @@ i[ "inner [] block"、[count] '[' ']' block の内部を選択
597597
します。このコマンドは後方に [count] 番目に現れる '['
598598
を探し、それから対応する ']' を探します。そしてその2つ
599599
に囲まれたテキストを '[' と ']' を除いて選択します。
600-
|cpo-M| オプションフラグは、エスケープされた括弧を処理
601-
するために使用されます。
600+
"[]" のような空の内部ブロックを選択するとエラーになり
601+
ます。|cpo-M| オプションフラグは、エスケープされた括弧
602+
を処理するために使用されます。
602603
ビジュアルモードで使われたときは、文字単位になります。
603604

604605
a) *v_a)* *a)* *a(*
@@ -615,8 +616,10 @@ i( *vib* *v_ib* *v_i(* *ib*
615616
ib "inner block"、[count] block の内部を選択します。
616617
"[count] [(" からそれに対応する ')' までで、'(' と ')'
617618
を除きます(参照 |[(|)。カーソルが () ブロック内でない
618-
場合、次の "(" を探します。|cpo-M| オプションフラグは、
619-
エスケープされた小括弧を処理するために使用されます。
619+
場合、次の "(" を探します。"()" のような空の内部ブロッ
620+
クを選択するとエラーになります。|cpo-M| オプションフラ
621+
グは、エスケープされた小括弧を処理するために使用されま
622+
す。
620623
ビジュアルモードで使われたときは、文字単位になります。
621624

622625
a> *v_a>* *v_a<* *a>* *a<*
@@ -630,9 +633,10 @@ a< "a <> block"、[count] <> block 選択します。[count] 番
630633
i> *v_i>* *v_i<* *i>* *i<*
631634
i< "inner <> block"、[count] <> block の内部を選択します。
632635
[count] 番目に現れる '<' を検索し、それに対応する '>'
633-
までを '<' と '>' を除いて選択します。|cpo-M| オプショ
634-
ンフラグは、エスケープされた '<' および '>' を処理する
635-
ために使用されます。
636+
までを '<' と '>' を除いて選択します。"<>" のような空
637+
の内部ブロックを選択するとエラーになります。|cpo-M|
638+
プションフラグは、エスケープされた '<' および '>' を処
639+
理するために使用されます。
636640
ビジュアルモードで使われたときは、文字単位になります。
637641

638642
*v_at* *at*
@@ -662,8 +666,9 @@ i} *v_i}* *i}* *i{*
662666
i{ *v_iB* *v_i{* *iB*
663667
iB "inner Block"、[count] Block 選択します。"[count] [{"
664668
からそれに対応する '}' までで '{' と '}' を除きます(参
665-
|[{|)。|cpo-M| オプションフラグは、エスケープされた
666-
中括弧を処理するために使用されます。
669+
|[{|)。"{}" のような空の内部ブロックを選択するとエ
670+
ラーになります。|cpo-M| オプションフラグは、エスケープ
671+
された中括弧を処理するために使用されます。
667672
ビジュアルモードで使われたときは、文字単位になります。
668673

669674
a" *v_aquote* *aquote*
@@ -1293,13 +1298,11 @@ count を使うと、可能な限り前/後にジャンプできます。つ
12931298
*]m*
12941299
]m [count]次のメソッドの始めに移動します(Javaもしくは似た
12951300
ような構造の言語用)。メソッドの始まりの前でなければ、
1296-
クラスの始めか終わりに移動します。カーソルの後に '{' が
1297-
見つからなければエラーとなります。|exclusive|
1301+
クラスの始めか終わりに移動します。|exclusive|
12981302
*]M*
12991303
]M [count]次のメソッドの終わりに移動します(Javaもしくは似
13001304
たような構造の言語用)。メソッドの終わりの前でなければ、
1301-
クラスの始めか終わりに移動します。カーソルの後に '}' が
1302-
見つからなけばエラーとなります。|exclusive|
1305+
クラスの始めか終わりに移動します。|exclusive|
13031306
*[m*
13041307
[m [count]前のメソッドの始めに移動します(Javaもしくは似た
13051308
ような構造の言語用)。メソッドの始まりの後でなければ、

en/motion.txt

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 9.1. Last change: 2023 Sep 28
1+
*motion.txt* For Vim version 9.1. Last change: 2023 Dec 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -600,7 +600,8 @@ i] *v_i]* *v_i[* *i]* *i[*
600600
i[ "inner [] block", select [count] '[' ']' blocks. This
601601
goes backwards to the [count] unclosed '[', and finds
602602
the matching ']'. The enclosed text is selected,
603-
excluding the '[' and ']'. The |cpo-M| option flag
603+
excluding the '[' and ']'. It's an error to select an
604+
empty inner block like "[]". The |cpo-M| option flag
604605
is used to handle escaped brackets.
605606
When used in Visual mode it is made characterwise.
606607

@@ -618,7 +619,8 @@ i( *vib* *v_ib* *v_i(* *ib*
618619
ib "inner block", select [count] blocks, from "[count] [("
619620
to the matching ')', excluding the '(' and ')' (see
620621
|[(|). If the cursor is not inside a () block, then
621-
find the next "(". The |cpo-M| option flag
622+
find the next "(". It's an error to select an empty
623+
inner block like "()". The |cpo-M| option flag
622624
is used to handle escaped parenthesis.
623625
When used in Visual mode it is made characterwise.
624626

@@ -632,8 +634,9 @@ a< "a <> block", select [count] <> blocks, from the
632634
i> *v_i>* *v_i<* *i>* *i<*
633635
i< "inner <> block", select [count] <> blocks, from
634636
the [count]'th unmatched '<' backwards to the matching
635-
'>', excluding the '<' and '>'. The |cpo-M| option flag
636-
is used to handle escaped '<' and '>'.
637+
'>', excluding the '<' and '>'. It's an error to
638+
select an empty inner block like "<>". The |cpo-M|
639+
option flag is used to handle escaped '<' and '>'.
637640
When used in Visual mode it is made characterwise.
638641

639642
*v_at* *at*
@@ -663,7 +666,8 @@ i} *v_i}* *i}* *i{*
663666
i{ *v_iB* *v_i{* *iB*
664667
iB "inner Block", select [count] Blocks, from "[count] [{"
665668
to the matching '}', excluding the '{' and '}' (see
666-
|[{|). The |cpo-M| option flag is used to handle
669+
|[{|). It's an error to select an empty inner block
670+
like "{}". The |cpo-M| option flag is used to handle
667671
escaped braces.
668672
When used in Visual mode it is made characterwise.
669673

@@ -1310,14 +1314,12 @@ bring you back to the switch statement.
13101314
]m Go to [count] next start of a method (for Java or
13111315
similar structured language). When not before the
13121316
start of a method, jump to the start or end of the
1313-
class. When no '{' is found after the cursor, this is
1314-
an error. |exclusive| motion.
1317+
class. |exclusive| motion.
13151318
*]M*
13161319
]M Go to [count] next end of a method (for Java or
13171320
similar structured language). When not before the end
13181321
of a method, jump to the start or end of the class.
1319-
When no '}' is found after the cursor, this is an
1320-
error. |exclusive| motion.
1322+
|exclusive| motion.
13211323
*[m*
13221324
[m Go to [count] previous start of a method (for Java or
13231325
similar structured language). When not after the

0 commit comments

Comments
 (0)