diff options
Diffstat (limited to 'lua/plugins/which-key.lua')
| -rw-r--r-- | lua/plugins/which-key.lua | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lua/plugins/which-key.lua b/lua/plugins/which-key.lua index b9a47db..2d8d47d 100644 --- a/lua/plugins/which-key.lua +++ b/lua/plugins/which-key.lua @@ -2,7 +2,17 @@ return { "folke/which-key.nvim", event = "VeryLazy", opts = { - preset = "modern" + preset = "modern", + spec = { + { "<leader>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 = { { |