summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-03-26 03:35:16 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-03-26 03:53:38 +0100
commit1007b920ccda6cc0e315eb0664b8e4dea213a721 (patch)
treef43b72acbfd43613f87bd9cb39cc2c541176d430
parentf30b15b7c579ac10d47c8dc5970890542db8ed05 (diff)
Bind corfu-expand to M-RET
-rw-r--r--README.org1
-rw-r--r--corfu.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.org b/README.org
index 8a94d1b..f66a46a 100644
--- a/README.org
+++ b/README.org
@@ -87,6 +87,7 @@ bindings:
| ~next-line~, =down=, =M-n= | ~corfu-next~ |
| ~previous-line~, =up=, =M-p= | ~corfu-previous~ |
| ~completion-at-point~, =TAB= | ~corfu-complete~ |
+| =M-TAB= | ~corfu-expand~ |
| =RET= | ~corfu-insert~ |
| =M-g= | ~corfu-info-location~ |
| =M-h= | ~corfu-info-documentation~ |
diff --git a/corfu.el b/corfu.el
index d11d710..e73b032 100644
--- a/corfu.el
+++ b/corfu.el
@@ -258,6 +258,7 @@ See also the settings `corfu-auto-delay', `corfu-auto-prefix' and
"C-g" #'corfu-quit
"RET" #'corfu-insert
"TAB" #'corfu-complete
+ "M-TAB" #'corfu-expand
"M-g" 'corfu-info-location
"M-h" 'corfu-info-documentation
"M-SPC" #'corfu-insert-separator)