gd defaults to telescope lsp_definition if telescope is loaded

This commit is contained in:
Bryan Ramos 2024-10-01 09:56:30 -04:00
parent 6b4d463867
commit 5effdcc73b
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8

View file

@ -33,6 +33,7 @@ return {
{ "<leader>cm", ":Telescope man_pages<CR>", desc = "Manpages" },
-- Code
{ "gd", ":Telescope lsp_definitions<CR>", desc = "Go to Definition" },
{ "<leader>gd", ":Telescope lsp_definitions<CR>", desc = "Go to Definition" },
{ "<leader>gr", ":Telescope lsp_references", desc = "Goto References" },
{ "<leader>gi", ":Telescope lsp_implementations<CR>", desc = "Go to Implementations" },