i have ctrl_] mapped to Edit.GotoBrace, the default mapping i believe
with the code:
if(a == b) {
// do something
}
where the lines are indented with tab i can put my cursor at three different spots on the 3rd line. the cursor can be at the start of the line, before the close bracket, or after the close bracket.
if i press ctrl_] then VS .NET 2003 only jumps to the matching bracket if i am next to it (before or after).
it is obvious to me that if i press ctrl_] and there is only one character on the line, and this is some form of bracket, then i want to jump to the matching bracket.
even better, if i am on a line with more compex code, eg:
if(a == b || c == d || e == f)
^
and the ^ marks the current cursor position, then it would be nice to jump to first the open bracket, and then the close bracket with ctrl_]
the rule is to look for the nearest "jump character" on the current line, and use it :)
vim does this, and i am starting to miss it, since now i have to do extra key presses to move to the bracket before i can jump.