I have a file/buffer that contains multiple file names with line numbers. Example:
Declaration of x
fileA.h +3
Usage of x
fileB.c +10
I can open a file with the cursor in the given line number with gF
. I can list all file names with :g/ +\d/
. But how can I open all files listed in this buffer?
I have tried :g/ +\d/normal gF
. But this opens only fileA.h
, not fileB.c
.