mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
gf (+lookup/file) has been changed to: + Use the active selection instead of the filename-at-point when searching for a file (as requested in #4942). + Pre-fill the FFAP prompt with the thing at point if no obvious filepath can be guessed from it (via ffap-alist). + Offer to search the current project for the thing-at-point (if counsel-file-jump is available). + Fall back to a standard ffap prompt if all else fails. I've also reversed te order of file lookup backends so that our FFAP backend is treated as a never-failing last resort (also because the bug-reference backend is known to fail gracefully, so we can trust it to run first). Closes #4942