How to select between brackets (or quotes or …) in Vim?

I’m sure there used to be a plugin for this kinda stuff, but now that I need it, I can’t seem to find it (naturally), so I’ll just ask nice and simple.

What is the easiest way to select between brackets, or quotes, or generally a list of matching characters?

   write ( *, '(a)' ) 'Computed solution coefficients:'

For example, here I’d like to select (a), or Computed solution coefficients:.

I’m not interested in multiline, just cases which occur on one line.

10 Answers
10

Leave a Comment