vim 查看json

在vim输入如下命令就能够格式化 :%!python -m json.tool 能够在~/.vimrc增长快捷键python map <F4> <Esc>:%!python -m json.tool<CR>
相关文章
相关标签/搜索