Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
echlebek
on March 4, 2021
|
parent
|
context
|
favorite
| on:
Navigate your code like it's 2021
Very cool, although I prefer semantic navigation. In vim-go:
:GoDef
Takes me to the place that the declaration or symbol exists at.
Then when I need to go back, I just
:bp
If I want to see the docs, I just:
:GoDoc
Take that, 2021!
altncatchfire
on March 4, 2021
[–]
Most editors now have shortcuts for that. A simple F12 (customizable) will take you to the definition (and if paths are configured correctly, the correct definition for multiple definitions)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Then when I need to go back, I just
If I want to see the docs, I just: Take that, 2021!