Files
nvim/lua/plugins/whichkey.lua
T
johannes 9b0446c5f6 feat: initial commit
- basic config according to spec
2026-11-05 15:04:29 +01:00

22 lines
460 B
Lua

local groups = {
{ "<leader>f", group = "Find" },
{ "<leader>g", group = "Git" },
{ "<leader>t", group = "Test and toggles" },
{ "<leader>b", group = "Buffers" },
}
if vim.g.profile == "full" then
vim.list_extend(groups, {
{ "<leader>l", group = "LSP" },
{ "<leader>d", group = "Debug" },
{ "<leader>a", group = "AI agent" },
})
end
return {
{
"folke/which-key.nvim",
event = "VeryLazy",
opts = { spec = groups },
},
}