In Vim you can use `[` and `]` to quickly travel to nearest unmatched bracket of the type entered in the next keystroke.
So `[{` will take you back up to the nearest unmatched “{”; `])` would take you ahead to the nearest unmatched “)”, and so on.