I like vim's tabcomplete feature - filename completion for its dropdown choices. Like this vi popdown,

enter image description here

I use hippie-expand with functions, try-complete-file-name-partially try-complete-file-name. It shows one option at a time not all the options with a drop-down. It consumes lot of time, calling hippie-expand for each and every wrong completion.

Is there any elisp library that has filepath autocompletion with dropdowns?


company-mode has a files backend:


auto-complete also has this feature, via its built-in (ac-source-filename) backend. In addition, for c/c++, there is auto-complete-c-headers, see https://github.com/mooz/auto-complete-c-headers. Here is a screenshot of the latter: drop-down-for-c-headers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.