branch: externals/corfu
commit 86bbbde8819c56f3480e93e69a37f1d1d8ccae7d
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    corfu-map: Remove [return] binding, add comment regarding [tab]
    
    org-mode-map binds [tab], therefore we have to keep this binding for now.
---
 corfu.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index e123bf4..126e428 100644
--- a/corfu.el
+++ b/corfu.el
@@ -136,7 +136,8 @@ filter string with spaces is allowed."
     (define-key map [remap completion-at-point] #'corfu-complete)
     (define-key map [down] #'corfu-next)
     (define-key map [up] #'corfu-previous)
-    (define-key map [return] #'corfu-insert)
+    ;; XXX [tab] is bound because of org-mode
+    ;; The binding should be removed from org-mode-map.
     (define-key map [tab] #'corfu-complete)
     (define-key map "\en" #'corfu-next)
     (define-key map "\ep" #'corfu-previous)

Reply via email to