Suppose I have a line of text of the form (123[456{789}abc]def)
and the cursor is inside the curly braces. In sublime text
, we can use ctrl-shift-m
repeatedly to jump to highlighting 789
, {789}
, 456{789}abc
, [456{789}abc]
, etc. Is there a way to duplicate this operation in vim
?
EDIT: I know there are %v%
and vib
but they are different commands and not as fluid.
va%a%a%
would be the logical sequence, but it doesn't work because a) matchit'sa%
is completely broken and b) matchit doesn't appear to support extension with repeated "a" objects. Perhaps a modern replacement to matchit is needed?