Say for instance I'm editing a config file and I want to type in a path. Is there a plugin for emacs that lets you complete a file path in that buffer? I've searched for this and there's like a bazillion completion plugins out there.
Mac – How to complete file paths in emacs
autocompleteelispemacs
Best Answer
Try Hippie Expand, which as one of it's possibilities has '
try-complete-file-name
. You can change the order and list of expansion functions hippie expand will use to favor expanding the file name.Or, you could even write a custom wrapper that would only do the file name expansion. Something like: