aj is a text object for the outermost JSON object, and
gqaj pretty prints the JSON under the cursor. There's also
gwaj, which merges JSON from a register into the outermost JSON object.
With Wildfire you can quickly select the closest text object among a group of candidates. By default candidates are
<Enter>in normal mode to select the closest text object. Keep pressing
<ENTER>for selecting the next closest text object. To go the other way round, that is, to select the previously selected text object, press
You can add more text objects by editing
g:wildfire_objects. I think this is a really clever idea, and could easily find itself into my