Last active
March 15, 2022 13:15
-
-
Save Integralist/5268eb6a9ea56aeb9bea1b362e1b7036 to your computer and use it in GitHub Desktop.
[vim pretty print json] #vim #json #pretty #print
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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