return { "folke/which-key.nvim", event = "VeryLazy", opts = { preset = "modern", spec = { { "a", group = "ai" }, { "gm", group = "+Copilot chat" }, { "gmh", desc = "Show help" }, { "gmd", desc = "Show diff" }, { "gmp", desc = "Show system prompt" }, { "gms", desc = "Show selection" }, { "gmy", desc = "Yank diff" }, }, }, keys = { { "?", function() require("which-key").show({ global = false }) end, desc = "Buffer Local Keymaps (which-key)", }, }, }