In VIM when I type a left bracket a matching right bracket is automatically added, which is fine. But if I have a line like the following:
thisVar = count(blue*(red+green) - orange + (1*3);
and I want to add a right bracket after (red+green) I have trouble. If I type a right-bracket VIM skips me ahead to the next right-bracket on the line. The only way I can add the right bracket seems to be to add a carriage return to split the statement over two lines, add the bracket, and then put it back:
thisVar = count(blue*(red+green))
- orange + (1*3);
then
thisVar = count(blue*(red+green)) - orange + (1*3);
What configuration setting needs to change to stop VIM from jumping ahead to the next right bracket?