I think this is not quite a duplicate, although it's close.
I often work with multiple, slightly different, checkouts of the same multi-directory project. I'd like to be able to jump around using tags and gf, always staying within the current checkout, without having to type anything at startup.
There is a different tags file at the top-level directory of each checkout. The checkouts are numerous and their locations far from static, so hard-coding in paths is not an acceptable solution.
seems to work acceptably for the tags part. But to get gf to work I need to append the location of the tags files thus found (notably including the top-level directory) to the path somehow. Any ideas on how to do this?