From c6b0a459c75dde02ffcdd57c63a7feb9c673b080 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 10 Jul 2022 00:10:41 -0500 Subject: nvim: tweak lsp keys --- nvim/.config/nvim/lua/lsp_config.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/lua/lsp_config.lua b/nvim/.config/nvim/lua/lsp_config.lua index 55f4d6d..9453e38 100644 --- a/nvim/.config/nvim/lua/lsp_config.lua +++ b/nvim/.config/nvim/lua/lsp_config.lua @@ -34,9 +34,9 @@ local on_attach = function(client, bufnr) buf_map(bufnr, 'n', 'gi', ':LspImplementation') buf_map(bufnr, 'n', 'gr', ':LspRefs') buf_map(bufnr, 'n', 'K', ':LspHover') - buf_map(bufnr, 'n', '[d', ':LspDiagPrev') - buf_map(bufnr, 'n', ']d', ':LspDiagNext') - buf_map(bufnr, 'n', 'd', ':LspDiagLine') + buf_map(bufnr, 'n', '[e', ':LspDiagPrev') + buf_map(bufnr, 'n', ']e', ':LspDiagNext') + buf_map(bufnr, 'n', 'e', ':LspDiagLine') buf_map(bufnr, 'n', '', ':LspSignatureHelp') buf_map(bufnr, 'n', 'wa', ':lua vim.lsp.buf.add_workspace_folder()') buf_map(bufnr, 'n', 'wr', ':lua vim.lsp.buf.remove_workspace_folder()') -- cgit v1.2.3