16 October 2016 Format JSON in vim. Use python's json.tool to pretty-format json. nnoremap <leader>j :%!python -m json.tool<CR>