summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-09 01:20:18 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-09 01:20:18 +0100
commit91d8eaad6b397a220d5cbc5f486665aed2cba98a (patch)
treef496b98d0f5581c2a10bec87dd3c16309e771e4e
parentab6917cb2023d02a71507837f7605d7a3490e82e (diff)
Add map for json pretty
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index ed7ccb5..27b2e04 100644
--- a/.vimrc
+++ b/.vimrc
@@ -167,6 +167,7 @@ autocmd BufNewFile,BufRead *.yaml.gotmpl set filetype=yaml " for highlighting
autocmd FileType gitcommit,markdown setlocal spell " spell check commits and markdown files
autocmd FileType gitcommit,markdown set complete+=spell " spell complete with CTRL+N/CTRL+P
autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation
+autocmd FileType json nnoremap <buffer> <silent> <C-f> :%!jq .<CR>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Plugin maps