From 799aa464ab5dc9444ecbc43af82bbbfe1c9a09f6 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Mon, 31 Mar 2025 11:36:12 -0400 Subject: Remove keymaps which recieved new defaults --- nvim/lua/keymap.lua | 2 -- nvim/lua/plugins/lsp.lua | 33 +-------------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/nvim/lua/keymap.lua b/nvim/lua/keymap.lua index 5c6e39a..4453d25 100644 --- a/nvim/lua/keymap.lua +++ b/nvim/lua/keymap.lua @@ -16,8 +16,6 @@ vim.keymap.set('n', "q", function() { noremap = true, desc = "Toggle bottom quickfix window" }) vim.keymap.set('n', "l", function() shared.cmd_pcall(':aboveleft lope') end) vim.keymap.set('n', "dk", function() vim.diagnostic.open_float() end) -vim.keymap.set('n', "[q", "cprev", { noremap = true }) -vim.keymap.set('n', "]q", "cnext", { noremap = true }) -- Send visual selection to quickfix list vim.keymap.set('v', "", function() diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 7a26f35..69e6765 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -41,14 +41,7 @@ local lspconfig = { desc = "Go to definition" }, { - 'r', - function() - vim.lsp.buf.rename() - end, - mode = 'n', - desc = "Rename symbol" - }, - { + -- TODO: consider changing binding to grf 'f', function() vim.lsp.buf.format() @@ -56,30 +49,6 @@ local lspconfig = { mode = { 'n', 'v' }, desc = "Format code" }, - { - 'a', - function() - vim.lsp.buf.code_action() - end, - mode = { 'n', 's' }, - desc = "Show code actions" - }, - { - 'lr', - function() - vim.lsp.buf.references() - end, - mode = 'n', - desc = "Add symbol references to qf" - }, - { - '', - function() - vim.lsp.buf.signature_help() - end, - mode = 'i', - desc = "Show signature help" - } } } -- cgit v1.2.3