From 9fc9458e32dbe8072a1846ebb4a3e8e8e3ea6841 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 13 Sep 2022 14:46:20 -0400 Subject: [PATCH] Format JSON in VIM --- vim/.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index f166126..3aa8b22 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -116,6 +116,9 @@ map gg :exe "!gh gist create -w %:p" autocmd Filetype rust set colorcolumn=100 autocmd BufNewFile,BufRead *.tftpl :set filetype=terraform +" other +map fj :%!jq . + " PLUGIN CONFIGURATION " editorconfig-vim let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']