Posted on March 20, 2018March 20, 2018 by JoePretty printing JSON in Vim There are two simple steps to turn a big unreadable mess of json into a simple to read and edit json file. First, vim your file. Second, use the json.tool to prettify it. vim <your file> :%!python -m json.tool That’s it. You’re welcome!