Format JSON in Vim Mar 20, 2015 Very quick and easy solution to format API JSON response within the Vim. :%!python -m json.tool