Files
nvim-config/lua/plugins/which-key.lua
2025-12-10 14:46:41 +00:00

28 lines
638 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
config = function()
local wk = require("which-key")
wk.add({
{ "<leader>d", group = "Debug" },
{ "<leader>f", group = "Telescope" },
{ "<leader>t", group = "Test" },
{ "<leader>c", group = "Code" },
})
end
}