Using standard completion or icomplete-mode, M-x man RET executes the man command. When turning on ivy-mode, man is somewhere on the 8th screen. (Entering ^man on the prompt helps a bit, but once the library is loaded, various commands starting with uppercase "Man-" prefix are presented before man even in that case.) Other commands have the same problem, e.g., gnus is presented after diary-from-outlook-gnus when typing M-x gnus.
Would it be possible to sort the list of completions so that prefix matches of the input string come before other possibilities?
The text was updated successfully, but these errors were encountered:
* ivy.el (ivy-prefix-sort): Remove defcustom.
(ivy--filter): Forward sorting of matched candidates to `ivy--sort'.
(ivy-sort-matches-functions-alist): New defcustom.
(ivy--sort): New defun.