feat(plugins): add custom key mappings for AstroNvim

This commit is contained in:
Prad Nukala committed 2026-07-16 12:41:43 -04:00
1 parent bc71fc7ca4
commit 0b30af954a
1 file changed
+2 -2
+2 -2
View File
@@ -136,8 +136,8 @@ return {
mappings = { mappings = {
n = { n = {
-- disable AstroNvim's default <C-q> = force quit (:q!) -- overrides AstroNvim's default <C-q> = force quit (:q!)
["<C-Q>"] = false, ["<C-q>"] = { "<Cmd>wqa<CR>", desc = "Save all buffers and quit Neovim" },
["<C-!>"] = { "<Cmd>suspend<CR>", desc = "Suspend nvim (return with 'fg')" }, ["<C-!>"] = { "<Cmd>suspend<CR>", desc = "Suspend nvim (return with 'fg')" },
["ZZ"] = { "<Cmd>wqa<CR>", desc = "Save all buffers and quit Neovim" }, ["ZZ"] = { "<Cmd>wqa<CR>", desc = "Save all buffers and quit Neovim" },
["<A-q>"] = { "<Cmd>wqa<CR>", desc = "Save all buffers and quit Neovim" }, ["<A-q>"] = { "<Cmd>wqa<CR>", desc = "Save all buffers and quit Neovim" },