Commit 4bde3936 authored by François Magimel's avatar François Magimel
Browse files

feat(vim): add the Jsonx command

This command formats JSON to be more readable.
parent 074a886f
......@@ -41,6 +41,10 @@ set suffixes=.bak,~,.swp,.o,.aux,.log,.dvi,.bbl,.blg,.out,.toc
"set scrolloff=3
" commands
command! Jsonx exe "%!python -m json.tool"
" indent
set backspace=indent,eol,start " allow backspacing over everything in insert mode
if has("autocmd")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment