diff --git a/lua/plugins.lua b/lua/plugins.lua index 20b906b..d81e9de 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -23,7 +23,9 @@ local lsp_on_attach = function(_, bufnr) nmap('rn', vim.lsp.buf.rename, '[R]e[n]ame') nmap('ca', vim.lsp.buf.code_action, '[C]ode [A]ction') nmap('gd', vim.lsp.buf.definition, '[G]oto [d]efinition') - nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') + nmap('gr', vim.lsp.buf.references, '[G]oto [R]eferences') + nmap('gc', vim.lsp.buf.outgoing_calls, '[G]oto Outgoing [C]alls') + nmap('gt', vim.lsp.buf.type_definition, '[G]oto [T]ype definition') -- See `:help K` for why this keymap nmap('K', vim.lsp.buf.hover, 'Hover Documentation')