mirror of
https://github.com/Tilo-K/neovim-config.git
synced 2026-10-18 14:57:10 +00:00
feat: add vim.opt.confirm = true (#1384)
This commit is contained in:
1 parent
34e7d29aa7
commit
38f4744e25
1 file changed
+5
@@ -156,6 +156,11 @@ vim.opt.cursorline = true
|
|||||||
-- Minimal number of screen lines to keep above and below the cursor.
|
-- Minimal number of screen lines to keep above and below the cursor.
|
||||||
vim.opt.scrolloff = 10
|
vim.opt.scrolloff = 10
|
||||||
|
|
||||||
|
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
|
||||||
|
-- instead raise a dialog asking if you wish to save the current file(s)
|
||||||
|
-- See `:help 'confirm'`
|
||||||
|
vim.opt.confirm = true
|
||||||
|
|
||||||
-- [[ Basic Keymaps ]]
|
-- [[ Basic Keymaps ]]
|
||||||
-- See `:help vim.keymap.set()`
|
-- See `:help vim.keymap.set()`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user