We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vim.opt.confirm = true
1 parent d9517d2 commit 174013cCopy full SHA for 174013c
init.lua
@@ -162,6 +162,11 @@ vim.opt.cursorline = true
162
-- Minimal number of screen lines to keep above and below the cursor.
163
vim.opt.scrolloff = 10
164
165
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
166
+-- instead raise a dialog asking if you wish to save the current file(s)
167
+-- See `:help 'confirm'`
168
+vim.opt.confirm = true
169
+
170
-- [[ Basic Keymaps ]]
171
-- See `:help vim.keymap.set()`
172
0 commit comments