Files
dotfiles/nvim/lua/plugins/whichkey.lua
Nick Mello 1273ad4779 nvim: Add keybindings for LSP
LSP has a lot of functionality that I would benefit from taking
advantage of, this adds bindings for a bunch of that and which-key
support so I can figure out which key does what.

Signed-off-by: Nicholas Mello <nick@nmello.dev>
2025-08-14 23:13:02 -05:00

20 lines
355 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
triggers = { "<leader>", " " },
defaults = {
["<leader>d"] = { name = "+LSP" },
},
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}