From 22e6d1239b51f929f5ace7adce8322e281f68f4b Mon Sep 17 00:00:00 2001 From: He4eT Date: Sun, 24 Aug 2025 02:17:13 +0200 Subject: [PATCH] nvim: enable confirmation --- nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/init.lua b/nvim/init.lua index f6061b5..446d780 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -48,6 +48,9 @@ vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) -- Disable Intro (:intro) vim.opt.shortmess:append('I') +-- Raise a dialog asking if you wish to save the current file(s) +vim.o.confirm = true + -- Set window title vim.o.title = true vim.o.titlestring = '%F'