View original Gist on GitHub
Tags: #vim #json #pretty #print
" Replace buffer with output :%!python -m json.tool " Append output to buffer :read !cat % | python -m json.tool