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.
This commit is contained in:
KJ 2024-04-26 02:52:40 -04:00
parent 7eaa783f2e
commit e276cc0eec

View File

@ -21,8 +21,10 @@
:includes (corfu-info corfu-history))
:hook ((elpaca-after-init . global-corfu-mode)
(corfu-mode . corfu-popupinfo-mode))
:bind (("<escape>" . corfu-quit)
("<SPC>" . corfu-insert-separator))
:bind (:map corfu-map
([tab] . nil)
("<escape>" . corfu-quit)
("<SPC>" . corfu-insert-separator))
:custom
(corfu-auto t)
:config