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 5c0e8c8 commit 8199954Copy full SHA for 8199954
init.lua
@@ -157,6 +157,11 @@ vim.opt.cursorline = true
157
-- Minimal number of screen lines to keep above and below the cursor.
158
vim.opt.scrolloff = 10
159
160
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
161
+-- instead raise a dialog asking if you wish to save the current file(s)
162
+-- See `:help 'confirm'`
163
+vim.opt.confirm = true
164
+
165
-- [[ Basic Keymaps ]]
166
-- See `:help vim.keymap.set()`
167
0 commit comments