How to Format JSON in Vim
Vim is amazing. Well, Python is doing all the work, but I still like Vim. Learn how to format JSON in Vim like a pro with this short guide!
tl;dr
Paste your json, and run this in vim normal mode.
:%!python -m json.tool
Vim is amazing. Well, Python is doing all the work, but I still like Vim. Learn how to format JSON in Vim like a pro with this short guide!
Paste your json, and run this in vim normal mode.
:%!python -m json.tool
You probably already know how to use vim's basic undo and redo features. For a quick refresher, read this short tutorial on how to use vim redo and undo.