diff --git a/.vimrc b/.vimrc index a1cf1bf..b76f63b 100644 --- a/.vimrc +++ b/.vimrc @@ -61,6 +61,11 @@ if empty(glob(data_dir . '/autoload/plug.vim')) autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif +" Shortcut for JSON formatting via jq +if executable('jq') + command JQ %!jq . +endif + " Plugin config section. Plugins will be installed under ~/.vim/plugged/ call plug#begin()