You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
to turn on the new behavior. It's off by default, because it can be potentially more time-consuming.
If it turns out to be fast enough, ivy-prefix-sort will be made on by default.
* 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.
Fixes#269Fixes#265
Using standard completion or icomplete-mode,
M-x man RET
executes theman
command. When turning onivy-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 beforeman
even in that case.) Other commands have the same problem, e.g.,gnus
is presented afterdiary-from-outlook-gnus
when typingM-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: