开发者

vim:confirm before closing multiple tabs

开发者 https://www.devze.com 2022-12-17 20:48 出处:网络
I often unintentionaly quit vim using :qa while open many files in different tabs. I wonder if there is any way开发者_如何学JAVA to have something like a confirmation line showing before closing multi

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消