linux:vim-json
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | linux:vim-json [2017/12/06 15:49] (current) – created percy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Vim Pretty JSON ====== | ||
+ | |||
+ | |||
+ | :%!python -m json.tool | ||
+ | Or add to .vimrc | ||
+ | au FileType json setlocal equalprg=python\ -m\ json.tool | ||
+ | |||
+ | |||
+ | |||
+ | ===== Refer ===== | ||
+ | |||
+ | - https:// | ||
+ | - https:// | ||
/var/www/dokuwiki/wiki/data/pages/linux/vim-json.txt · Last modified: 2017/12/06 15:49 by percy