summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-07-04 17:10:42 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2024-07-04 17:10:42 +0200
commit977ba4b89a68924d6f4137859a8ce6dd0c6884dc (patch)
tree270535d153f69f53ac25f7c4f192e111a6f544b6
parentcdc3e13ad312f5f12b3f78f842fff0b398eb4473 (diff)
corfu-map: Unbind <tab> and C-a
-rw-r--r--CHANGELOG.org9
-rw-r--r--corfu.el6
2 files changed, 9 insertions, 6 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index da29094..9417ef0 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -2,6 +2,15 @@
#+author: Daniel Mendler
#+language: en
+* Development
+
+- Unbind =C-a= in =corfu-map=. This binding is only needed in modes which override
+ =C-a= instead of remapping ~move-beginning-of-line~.
+- Unbind =<tab>= in ~corfu-map~. This binding is only needed in modes which bind
+ =<tab>= instead of =TAB=, as was the case in old versions of Org. If you use such
+ a mode, please report this as a bug for this mode. In the meantime you can use
+ =(keymap-set corfu-map "<tab>" #'corfu-complete)=.
+
* Version 1.4 (2024-05-23)
- ~corfu-auto-commands~: Add ~delete-backward-char~.
diff --git a/corfu.el b/corfu.el
index 168c3f1..8460baa 100644
--- a/corfu.el
+++ b/corfu.el
@@ -247,12 +247,6 @@ See also the settings `corfu-auto-delay', `corfu-auto-prefix' and
"<remap> <keyboard-escape-quit>" #'corfu-reset
"<down>" #'corfu-next
"<up>" #'corfu-previous
- ;; XXX C-a is bound because of Eshell.
- ;; Ideally Eshell would remap move-beginning-of-line.
- "C-a" #'corfu-prompt-beginning
- ;; XXX [tab] is bound because of org-mode and orgtbl-mode.
- ;; The binding should be removed from org-mode-map.
- "<tab>" #'corfu-complete
"M-n" #'corfu-next
"M-p" #'corfu-previous
"C-g" #'corfu-quit