Vim: confirm before closing multiple tabs

I often unintentionally exit vim using: qa, opening many files on different tabs. I wonder if there is any way to show something like a confirmation line before closing a few tabs and exiting. Thank!

+3
source share
1 answer

Extracted for using this plugin: http://www.vim.org/scripts/script.php?script_id=1072 , but as far as I remember, it works only with the graphical interface.

+1
source

Source: https://habr.com/ru/post/1729358/


All Articles