From f04359f2ea968ba93faa808961ad15220bbc4640 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 20 Mar 2022 10:13:01 +0800 Subject: Improve completion config (emacs) --- .emacs.d/lisp/init-corfu.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-corfu.el') diff --git a/.emacs.d/lisp/init-corfu.el b/.emacs.d/lisp/init-corfu.el index ec88b8d..7b5899d 100644 --- a/.emacs.d/lisp/init-corfu.el +++ b/.emacs.d/lisp/init-corfu.el @@ -9,7 +9,9 @@ (setq corfu-cycle t corfu-auto t corfu-quit-no-match t - corfu-preselect-first nil) + corfu-preselect-first nil + corfu-auto-prefix 1 + corfu-auto-delay 0.01) (with-eval-after-load 'corfu (define-key corfu-map (kbd "TAB") 'corfu-next) -- cgit v1.2.3