diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-12-09 10:44:18 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-12-09 10:44:18 -0300 |
| commit | e00fc002a6441fa3741d1f705337efbbd8850744 (patch) | |
| tree | f6891a9119ee065db574aae73395af973100a008 /lua/plugins/which-key.lua | |
| parent | 546d06a2314d0b4b5360346243bcfc0bda3fff30 (diff) | |
| download | nvim-conf-e00fc002a6441fa3741d1f705337efbbd8850744.tar.gz nvim-conf-e00fc002a6441fa3741d1f705337efbbd8850744.zip | |
Cambios varios.
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 = { { |