summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2024-05-13 23:43:07 +0200
committerAlan Pearce2024-05-13 23:43:07 +0200
commit8d229f47a5d082f6f0d6071a86773b59324129d5 (patch)
treefce4c21aeb312a6dc975266594408c5ecad6d8e0 /user/emacs
parentc4448d4e960bc895e9d73a9cf5d6f58f1dc9bd67 (diff)
downloadnixfiles-8d229f47a5d082f6f0d6071a86773b59324129d5.tar.lz
nixfiles-8d229f47a5d082f6f0d6071a86773b59324129d5.tar.zst
nixfiles-8d229f47a5d082f6f0d6071a86773b59324129d5.zip
emacs: tweak corfu settings
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 117b2bda..a0f77610 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -533,7 +533,8 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
                   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)))