aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua')
-rw-r--r--nvim/lua/keymap.lua2
-rw-r--r--nvim/lua/plugins/lsp.lua33
2 files changed, 1 insertions, 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', "<Leader>q", function()
{ noremap = true, desc = "Toggle bottom quickfix window" })
vim.keymap.set('n', "<Leader>l", function() shared.cmd_pcall(':aboveleft lope') end)
vim.keymap.set('n', "<Leader>dk", function() vim.diagnostic.open_float() end)
-vim.keymap.set('n', "[q", "<cmd>cprev<cr>", { noremap = true })
-vim.keymap.set('n', "]q", "<cmd>cnext<cr>", { noremap = true })
-- Send visual selection to quickfix list
vim.keymap.set('v', "<C-q>", 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"
},
{
- '<leader>r',
- function()
- vim.lsp.buf.rename()
- end,
- mode = 'n',
- desc = "Rename symbol"
- },
- {
+ -- TODO: consider changing binding to grf
'<leader>f',
function()
vim.lsp.buf.format()
@@ -56,30 +49,6 @@ local lspconfig = {
mode = { 'n', 'v' },
desc = "Format code"
},
- {
- '<leader>a',
- function()
- vim.lsp.buf.code_action()
- end,
- mode = { 'n', 's' },
- desc = "Show code actions"
- },
- {
- '<leader>lr',
- function()
- vim.lsp.buf.references()
- end,
- mode = 'n',
- desc = "Add symbol references to qf"
- },
- {
- '<C-h>',
- function()
- vim.lsp.buf.signature_help()
- end,
- mode = 'i',
- desc = "Show signature help"
- }
}
}