diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2022-07-10 00:10:41 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2022-07-10 00:10:41 -0500 |
commit | c6b0a459c75dde02ffcdd57c63a7feb9c673b080 (patch) | |
tree | 56912eb8915a450b5db7c53b6e10045110f0c8e9 /nvim | |
parent | 2e37e28cb0c7e9f4479229380d8202e7192c5f99 (diff) |
nvim: tweak lsp keys
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/lua/lsp_config.lua | 6 |
1 files 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<cr>') buf_map(bufnr, 'n', 'gr', ':LspRefs<cr>') buf_map(bufnr, 'n', 'K', ':LspHover<cr>') - buf_map(bufnr, 'n', '[d', ':LspDiagPrev<cr>') - buf_map(bufnr, 'n', ']d', ':LspDiagNext<cr>') - buf_map(bufnr, 'n', '<leader>d', ':LspDiagLine<cr>') + buf_map(bufnr, 'n', '[e', ':LspDiagPrev<cr>') + buf_map(bufnr, 'n', ']e', ':LspDiagNext<cr>') + buf_map(bufnr, 'n', '<leader>e', ':LspDiagLine<cr>') buf_map(bufnr, 'n', '<C-k>', ':LspSignatureHelp<cr>') buf_map(bufnr, 'n', '<space>wa', ':lua vim.lsp.buf.add_workspace_folder()<cr>') buf_map(bufnr, 'n', '<space>wr', ':lua vim.lsp.buf.remove_workspace_folder()<cr>') |