From d14830e5398ff38652c2f27053332209c45efa4f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 14:25:14 +0200 Subject: Use a silent mapping and write files --- .exrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.exrc b/.exrc index f61c262..7af55de 100644 --- a/.exrc +++ b/.exrc @@ -11,6 +11,6 @@ endfunction autocmd BufWritePre *.go call s:SaveExcursion("gofmt -s") autocmd BufWritePre *.templ call s:SaveExcursion("templ fmt") -nnoremap gM :make all-i18n +nnoremap gM :wall \| make all-i18n let g:netrw_list_hide .= ",.*_templ\\.go$" -- cgit v1.2.3