From 6f0750263873f3c2fb7905d0052aae13b8cf0215 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 5 Apr 2025 11:59:42 +0200 Subject: [PATCH] Let vertico sort candidates by name mostly Show the history first, for manual selection, but sort the rest alphabetically. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index f8b825f..737c1e6 100644 --- a/init.el +++ b/init.el @@ -2359,7 +2359,10 @@ Note that this workaround is incomplete, as explained in this comment." (use-package vertico :ensure t - :commands (vertico-mode)) + :commands (vertico-mode) + :autoload (vertico-sort-history-alpha + vertico-sort-alpha) + :init (setq vertico-sort-function #'vertico-sort-history-alpha)) (use-package orderless :ensure t