User Tools

Site Tools


linux:vim-json

Vim Pretty JSON

:%!python -m json.tool

Or add to .vimrc

au FileType json setlocal equalprg=python\ -m\ json.tool

Refer

/var/www/dokuwiki/wiki/data/pages/linux/vim-json.txt · Last modified: 2017/12/06 15:49 by percy