-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Milestone
Description
I've thought to use this plugin to get the filename under the cursor in a quickfix list, and then :edit it after wincmd w.
From a quick glance fetch#cfile does this, but the command to be executed is hard-coded to gf/gF already.
It would be great to have an interface where the filename that would be understood by vim-fetch would be returned: empty would mean that vim-fetch (and gf/gF) cannot handle it.
For my use case using the current cursor position is good, but I could also imagine passing in a string (and maybe the position in that string).
Another approach would be for the function to return the spec itself: the filename and the jump action (and a way to call / execute those).
Rafflesiaceae