Jump to the definition of the symbol under cursor.
Section: Built-in LSP workflows
Go to definition
lua
lua
vim.keymap.set("n", "gd", vim.lsp.buf.definition)Explanation
A core LSP navigation mapping.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Built-in LSP workflows