Files
nvim_dotfiles/lua/plugins/whichkey.lua
2025-07-03 10:50:10 +02:00

33 lines
826 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {},
config = function()
local wk = require("which-key")
wk.add({
{ "<leader>f", group = "Telescope" }
})
wk.add({
{ "<leader>D", group = "Debug" }
})
wk.add({
{ "<leader>t", group = "Tree" }
})
end,
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
{
"<leader>tt", ":Lexplore<cr>", desc = "Expore current directory"
},
{
"<leader>t.", ":Lexplore %:p:h<cr>", desc = "Expore file directory"
}
},
}