Did you know Vim has a few builtin features designed to help with the "Jump to Definition" action you see in most IDEs?
Since Vim is a "dumb" editor (that is, it doesn't do any static analysis on your text), you'd expect a "Jump to Definition" feature that relies on a simple text search.