Skip to main content
1 of 3

In vim you can use the [ 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.