I use gf to open "filename.h" from line like:
#include "filename.h"
in some C\C++ file.
Sometimes there is more than one "filename.h" that gf command can find in path. But gf gets me to the first file it finds - sometimes that's not what I want.
Is there a way to open the next file matching that name?

gfaccepts a count, so you can try2gf. Is that what you want? – muru Apr 19 '17 at 08:49