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[*
600600i[ "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*
618619ib "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
632634i> *v_i>* *v_i<* *i>* *i<*
633635i< "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{*
663666i{ *v_iB* *v_i{* *iB*
664667iB "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