The Scala plugins for Vim is flashing the matching bracket/brace for a few seconds, and then it stops the highlight. Is there a special setting I can enable in my Vim to achieve the same for all files, not only Scala ones?
You can easily use the % key to jump to a matching opening or closing parenthesis, bracket or curly brace. You can also set the option showmatch . The cursor will briefly jump to the matching bracket, wen you insert one.
You simply put your cursor on a brace or parenthesis, press %, and Vi will move the cursor to the corresponding brace or parenthesis.
You're looking for the showmatch
option.
Related settings are:
showmatch
matchpairs
matchtime
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With