From e276cc0eece705842335f5d4c2e1ed82f13e6e30 Mon Sep 17 00:00:00 2001 From: KJ Date: Fri, 26 Apr 2024 02:52:40 -0400 Subject: [PATCH] Inprove corfu key mapping. Escape key now is not globally taken, tab do nothing and also all keys only was triggered when the corfu pop is open. --- configs/init-corfu.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/init-corfu.el b/configs/init-corfu.el index a59798e..d8668bd 100644 --- a/configs/init-corfu.el +++ b/configs/init-corfu.el @@ -21,8 +21,10 @@ :includes (corfu-info corfu-history)) :hook ((elpaca-after-init . global-corfu-mode) (corfu-mode . corfu-popupinfo-mode)) - :bind (("" . corfu-quit) - ("" . corfu-insert-separator)) + :bind (:map corfu-map + ([tab] . nil) + ("" . corfu-quit) + ("" . corfu-insert-separator)) :custom (corfu-auto t) :config