I like to use cape-history and consult-history in different contexts and I also like to use Corfu's move to minibuffer for moving a cape-history completion to the minibuffer. I've noticed that the order of results returned by cape-history is different to consult-history. I believe this is controlled by Vertico's vertico-sort-function variable. For history completion, the nice thing about controlling the sort is so that more recently used commands are shown first by specifying the value #'vertico-sort-history-length-alpha. Is control over sort ordering possible with cape-history?
I like to use
cape-history
andconsult-history
in different contexts and I also like to use Corfu's move to minibuffer for moving acape-history
completion to the minibuffer. I've noticed that the order of results returned bycape-history
is different toconsult-history
. I believe this is controlled by Vertico'svertico-sort-function
variable. For history completion, the nice thing about controlling the sort is so that more recently used commands are shown first by specifying the value#'vertico-sort-history-length-alpha
. Is control over sort ordering possible withcape-history
?