We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vim.opt.confirm = true
1 parent 9929e8a commit 48a5093Copy full SHA for 48a5093
init.lua
@@ -77,6 +77,11 @@ vim.opt.cursorline = true
77
-- Minimal number of screen lines to keep above and below the cursor.
78
vim.opt.scrolloff = 10
79
80
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
81
+-- instead raise a dialog asking if you wish to save the current file(s)
82
+-- See `:help 'confirm'`
83
+vim.opt.confirm = true
84
+
85
-- [[ Basic Keymaps ]]
86
-- See `:help vim.keymap.set()`
87
0 commit comments