diff --git a/lua/plugins/config/whichkey.lua b/lua/plugins/config/whichkey.lua index 97437e7..3a27b1b 100644 --- a/lua/plugins/config/whichkey.lua +++ b/lua/plugins/config/whichkey.lua @@ -50,6 +50,16 @@ wk.register({ t = { "TroubleToggle", "toggle trouble" } }, + g = { + d = { "lua vim.lsp.buf.definition()", "definition" }, + D = { "lua vim.lsp.buf.declaration()", "declaration" }, + i = { "lua vim.lsp.buf.implementation()", "implementation" }, + t = { "lua vim.lsp.buf.type_definition()", "type definition" } + }, + + K = { "lua vim.lsp.buf.hover()", "hover" }, + [""] = { "lua vim.lsp.buf.signature_help()", "signature help" }, + -- Nvim Tree [""] = { "NvimTreeToggle", "toggle nvimtree" },