From 4bc0a17595fa1a2edb4c9468112ac785c3460195 Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 17 Jul 2023 08:09:50 +0200 Subject: [PATCH] vim: silent --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index e11aa5c..03c5acb 100644 --- a/.vimrc +++ b/.vimrc @@ -236,7 +236,7 @@ nnoremap z :set nonumber! norelativenumber! autocmd BufWritePre * :%s/\s\+$//e " entferne multiple consecutive empty lines if executable('cat') - autocmd BufWritePre *.md %!cat -s + autocmd BufWritePre *.md silent %!cat -s endif " remove multiple whitespaces between words " https://stackoverflow.com/questions/5150870/efficient-way-to-remove-multiple-spaces-between-two-words-in-Vim