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 a06b496 commit 1608b46Copy full SHA for 1608b46
init.lua
@@ -175,6 +175,10 @@ vim.opt.expandtab = true
175
-- set vim-slime target
176
vim.g.slime_target = 'tmux'
177
vim.g.slime_python_ipython = 1
178
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
179
+-- instead raise a dialog asking if you wish to save the current file(s)
180
+-- See `:help 'confirm'`
181
+vim.opt.confirm = true
182
183
-- [[ Basic Keymaps ]]
184
-- See `:help vim.keymap.set()`
0 commit comments