commit b15cdea74bd6ebd82fb659e6a761f040329bd99e
parent 795dcc880c59660f707926513b05f5970535267b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Fri,  2 Nov 2018 15:39:06 +0100
Vim Beautify JSON command
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/commands.vimrc b/vim/commands.vimrc
@@ -10,6 +10,7 @@ command! Diffc w !git diff % -
 command! Fuckwindows %s/
//g
 command! Hexedit %!xxd
 command! Unhex %!xxd -r
+command! BeautifyJson %!python -m json.tool
 
 command! -nargs=1 -complete=command Redir silent call Redir(<f-args>)
 " Usage: