Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to highlight matching quotes in vim?

With the syntax highlighting in vim, I get the handy feature where the matching paren or bracket will be highlighted when I put the cursor over it. Is it possible to do the same thing for quotes?

like image 548
Jed Daniels Avatar asked Jun 21 '10 20:06

Jed Daniels


1 Answers

While not eloquent, one workaround is to select everything inside of matching quotes. You can do this by using the command:

vi"

This will select everything in-between the quotes. However, you won't get proper results with nested quotes as it will match the first found ".

like image 189
Jordan Parmer Avatar answered Sep 18 '22 08:09

Jordan Parmer