ls.
ls.

Reputation: 415

vim:confirm before closing multiple tabs

I often unintentionaly quit vim using :qa while open many files in different tabs. I wonder if there is any way to have something like a confirmation line showing before closing multiple tabs and quit. Thanks!

Upvotes: 3

Views: 516

Answers (1)

Zsolt Botykai
Zsolt Botykai

Reputation: 51583

Ised to use this plugin: http://www.vim.org/scripts/script.php?script_id=1072 but as far as I remember it only works with the GUI version.

Upvotes: 1

Related Questions