DEV Community

Discussion on: Exploring Vim: The 10 or So Things You Need To Know To Go Through The Dip

Collapse
 
vintharas profile image
Jaime González García • Edited

Thank you! Glad that you enjoyed it! :D

There's different ways in which to get that Go To Definition working:

  1. The "native" way to do that in vim is through the use of tags as you say. There's a great article in this years' vim advent calendar that gives some great pointers
  2. The alternative way to do it is through plugins that support LSP (Language Server Protocol) or something similar, and can understand your code at some level, many of these plugins double as autocompletion and code navigation tools. Some examples: ALE, CoC, some sources of Deoplete, etc. I don't yet have a favorite and I'm still investigating this area.
Collapse
 
vonheikemen profile image
Heiker

Thanks. Now my workflow is complete.

I will go with the file watch approach to update the tag file. It will give me a good excuse to use this utility. It will be enough 90% of the time, for the other 10% I'll jump back to Sublime text.