all repos — nixfiles @ 48ed7c3b6fc522dd3875fa6b8323a827698e6817

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

emacs: tweak corfu settings
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 14:24:11 +0200
commit

48ed7c3b6fc522dd3875fa6b8323a827698e6817

parent

378b111a641ab662d0ca241f552e2cb9c7e96a28

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -531,7 +531,8 @@ (setq corfu-auto t                   corfu-auto-delay 0.1
                   corfu-auto-prefix 3
                   corfu-on-exact-match nil
-                  corfu-preselect 'valid)
+		          corfu-preview-current nil
+                  corfu-preselect 'prompt)
             (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)))