Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stratosmacker
on Aug 23, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: How Do You Navigate Code?
Are those keyboard shortcuts part of the LSP server?
nont
on Aug 23, 2022
|
next
[–]
Nope, you have to map them but they are very easy to do. You can use the suggested keymaps from nvim-lsp GitHub too (still need to copy pasta).
nameless912
on Aug 24, 2022
|
prev
[–]
No, but defining one is as easy as one magic incantation in your .vimrc:
nnore <leader>gd :LspGoToDefinition<CR>
...or something like that. I haven't touched the config in a few months.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: