Supposing we have some code:
var f = function(a) {
var g = {"b" : "c",
"m" : "n" // cursor is here
"d" : "e",
"h" : {
"i" : "j",
"k": "l"
},
"m" : {
"n" : {"o":"p"}
}
} // want to get to here
}
What would be the most economic command in vi to navigate / jump to the closing bracket for the current scope.
Bear in mind:
?{ <ENTER>
%
The first line of commands to go to the last opened {
Then %
to find the matching brace