I've been in a few .php/.js-projects lately where it is not straight forward to use gf ("goto file"). Usually when the cursor in vim is above a filename I simply hit gf and it opens that file for reviewing/editing.
But in webdev land where I have been lately it is not untypically to do a reference to a file of sorts:
{% include '\_partials/main-menu' with {id: mainMenu} %}
It states the path _partials/main-menu, but the file that I want to investigate is craft/templates/_partials/main-menu.twig.
To gf my way to the right file I found that I could set path+=$PWD/craft/templates and set suffixesadd+=.twig