all repos — nixfiles @ 8d229f47a5d082f6f0d6071a86773b59324129d5

System and user configuration, managed by nix and home-manager

emacs: tweak corfu settings
Alan Pearce alan@alanpearce.eu
Mon, 13 May 2024 23:43:07 +0200
commit

8d229f47a5d082f6f0d6071a86773b59324129d5

parent

c4448d4e960bc895e9d73a9cf5d6f58f1dc9bd67

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -533,7 +533,8 @@ corfu-auto-delay 0.1                   corfu-auto-prefix 3
                   corfu-on-exact-match nil
 		          corfu-preview-current nil
-                  corfu-preselect 'prompt)
+                  corfu-preselect 'prompt
+                  corfu-on-exact-match 'quit)
             (defun corfu-enable-in-minibuffer ()
               "Enable Corfu in the minibuffer if `completion-at-point' is bound."
               (when (where-is-internal #'completion-at-point (list (current-local-map)))