diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua index 12a19f5..f1643ae 100644 --- a/lua/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua @@ -4,19 +4,19 @@ return { branch = "harpoon2", keys = { { - "ha", + "a", function() require("harpoon"):list():append() end, - desc = "[H]arpoon [A]dd File", + desc = "Harpoon [A]dd File", }, { - "hm", + "", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, - desc = "[H]arpoon [M]enu", + desc = "Toggle Harpoon Menu", }, }, config = function() diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 3962095..ee93f9e 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -109,7 +109,12 @@ return { nmap("gR", require("telescope.builtin").lsp_references, "[G]oto [R]eferences") nmap("gI", vim.lsp.buf.implementation, "[G]oto [I]mplementation") nmap("K", vim.lsp.buf.hover, "Hover Documentation") - -- nmap("", vim.lsp.buf.signature_help, "Signature Documentation") + vim.keymap.set( + "i", + "", + vim.lsp.buf.signature_help, + { buffer = event.buf, desc = "Signature Documentation" } + ) nmap("gD", vim.lsp.buf.declaration, "[G]oto [D]eclaration") end, }) diff --git a/lua/plugins/rust_tools.lua b/lua/plugins/rust_tools.lua index db00044..04caf3a 100644 --- a/lua/plugins/rust_tools.lua +++ b/lua/plugins/rust_tools.lua @@ -1,5 +1,6 @@ return { "simrat39/rust-tools.nvim", + cond = false, dependencies = { "neovim/nvim-lspconfig" }, ft = "rust", keys = { diff --git a/lua/plugins/which_key.lua b/lua/plugins/which_key.lua index 43b41a5..a9b4ce1 100644 --- a/lua/plugins/which_key.lua +++ b/lua/plugins/which_key.lua @@ -43,7 +43,6 @@ return { name = "Telescope", D = { name = "[D]evelopment" }, }, - h = { name = "[H]arpoon" }, z = { name = "[Z]en" }, r = { name = "[R]ust" }, w = { name = "Vim[W]iki" },