diff --git a/dots/.config/nvim/lua/plugins/mappings.lua b/dots/.config/nvim/lua/plugins/mappings.lua index 1932428a..d4505224 100755 --- a/dots/.config/nvim/lua/plugins/mappings.lua +++ b/dots/.config/nvim/lua/plugins/mappings.lua @@ -49,9 +49,7 @@ wk.register({ }, }, { prefix = "" }) vim.keymap.set("n", "lD", vim.lsp.buf.declaration, { silent = true, desc = "LSP: Declaration" }) -vim.keymap.set("n", "ld", function() - vim.lsp.buf.definition({ reuse_win = true }) -end, { silent = true, desc = "LSP: Definition" }) +vim.keymap.set("n", "ld", "TroubleToggle lsp_definitions", { silent = true, desc = "LSP: Definition" }) vim.keymap.set("n", "k", vim.lsp.buf.hover, { silent = true, desc = "LSP: Hover" }) vim.keymap.set("n", "K", vim.lsp.buf.signature_help, { silent = true, desc = "LSP: Sig Help" }) vim.keymap.set(