Skip to content
Discussion options

You must be logged in to vote

'mini.ai' selection supports what is called in the docs consecutive application. Meaning visual selection can be updated without leaving Visual mode. This is true for any variant of textobject: without "modifiers", "next", "last".

So for the example in this question:

  • Typing vinq (when cursor is on the first column of the first line) will visually select first range.
  • Typing inq (without v) will select second range. The same effect could have been achieved with in".
  • Moreover, with selection from the previous step still active, typing ilq will again select first range. And so on.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.ai
2 participants