aboutsummaryrefslogtreecommitdiff
path: root/modules/selection-framework.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/selection-framework.el')
-rw-r--r--modules/selection-framework.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/selection-framework.el b/modules/selection-framework.el
index 11687337..1f5d6dfc 100644
--- a/modules/selection-framework.el
+++ b/modules/selection-framework.el
@@ -47,6 +47,11 @@
:init
(vertico-mode))
+;; Save each completion session so `vertico-repeat' (the second C-s in
+;; `cj/consult-line-or-repeat') has a session to resume. `vertico-repeat-save'
+;; is autoloaded, so this defers loading vertico-repeat until the first minibuffer.
+(add-hook 'minibuffer-setup-hook #'vertico-repeat-save)
+
(use-package marginalia
:demand t
:custom