aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/which-key.lua
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2024-12-09 10:44:18 -0300
committerElvis Claros Castro <elvis@claros.ar>2024-12-09 10:44:18 -0300
commite00fc002a6441fa3741d1f705337efbbd8850744 (patch)
treef6891a9119ee065db574aae73395af973100a008 /lua/plugins/which-key.lua
parent546d06a2314d0b4b5360346243bcfc0bda3fff30 (diff)
downloadnvim-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.lua12
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 = {
{