Not too long ago I wrote about my pleasant experience with
icomplete-vertical-mode, a recent
addition on Emacs master which gives a vertical spin to the good old Icomplete.
But now Emacs also comes with
fido-mode, which enhances
The question is: can I combine
icomplete-vertical-mode to have
the best of both worlds? Yep, it turns out I can and it is simple and easy.
And this is basically it. The only other thing I did was setting
nil because I don’t have a particular need for
the match count at the prompt.
Whether or not one uses
fido-mode enables nice features
), which deletes the current
character or calls
dired on the current directory, and
), which kills the current line or, for instance, if we are
completing files asks if we want to delete the selected one. Check
icomplete-fido-mode-map for more details on the available key bindings.
icomplete--fido-mode-setup reveals that
fido-mode also uses the
flex completion style,1 but nothing forces us to stick with it or try
something like Orderless instead. As always with Emacs, the power is in our
One more thing. The “Trust me” in the title aims to be a pun on the word
“fido”. In Italian “fido” is the form for “I” of “fidare” which means “to
trust”: “Mi fido di te” becomes “I trust you” in English. “Fido” is also
a famous dog in Italy that came to
public attention because of his strong loyalty. Thus using
that my love for dogs is sincere and trustworthy.
C-h o completion-styles-alist RET to know more about it. Specifically, search for
Value:section of the documentation. ↩︎