My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit a76d4fc2550bb8b105753ef0ddf84dd2ca5c9f29
Parent: 456b9661cdfbb29471f52b1758c8fa7e4c2c59c0
Author: mcol <mcol@posteo.net>
Date: 2019-03-02 22:54:52 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2019-03-02 22:54:52 +0000

silent bclose on error

plugin/bclose.vim Modified

@@ -69,8 +69,8 @@
 	    endif
 	endif
     endfor
-    execute 'bdelete'.a:bang.' '.btarget
-    execute wcurrent.'wincmd w'
+    silent! execute 'bdelete'.a:bang.' '.btarget
+    silent! execute wcurrent.'wincmd w'
 endfunction
 command! -bang -complete=buffer -nargs=? Bclose call s:Bclose('<bang>', '<args>')