Nvim: confirm quit

This commit is contained in:
Marko Korhonen 2023-11-22 16:18:01 +02:00
parent 6de4b65ab8
commit f4c7e18482
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890
3 changed files with 8 additions and 1 deletions

View File

@ -22,5 +22,8 @@ g.neovide_cursor_vfx_mode = "railgun"
-- Enable dark/light theme detection
g.neovide_theme = "auto"
-- Confirm quit
g.neovide_confirm_quit = true
-- Set font
--o.guifont = "Hack Nerd Font Mono:h15"

View File

@ -0,0 +1,5 @@
return {
"yutkat/confirm-quit.nvim",
event = "CmdlineEnter",
config = true,
}

View File

@ -19,7 +19,6 @@ return {
action = "Telescope find_files",
key = "f",
},
{ icon = "", desc = "Quit", action = "q", key = "q" },
},
},
},