vim: silent

This commit is contained in:
Michael Grote 2023-07-17 08:09:50 +02:00
parent 53a8901a70
commit 4bc0a17595

2
.vimrc
View file

@ -236,7 +236,7 @@ nnoremap <Leader>z :set nonumber! norelativenumber!<CR>
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