Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
echlebek
· 5y ago · 0 comments
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!
Comments
[–]
altncatchfire
5y ago
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)