Skip to content

Instantly share code, notes, and snippets.

@Integralist
Last active March 15, 2022 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/5268eb6a9ea56aeb9bea1b362e1b7036 to your computer and use it in GitHub Desktop.
Save Integralist/5268eb6a9ea56aeb9bea1b362e1b7036 to your computer and use it in GitHub Desktop.
[vim pretty print json] #vim #json #pretty #print
" Replace buffer with output
:%!python -m json.tool
" Append output to buffer
:read !cat % | python -m json.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment