From 977ba4b89a68924d6f4137859a8ce6dd0c6884dc Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 4 Jul 2024 17:10:42 +0200 Subject: corfu-map: Unbind and C-a --- CHANGELOG.org | 9 +++++++++ corfu.el | 6 ------ 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 == in ~corfu-map~. This binding is only needed in modes which bind + == 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 "" #'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 " " #'corfu-reset "" #'corfu-next "" #'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. - "" #'corfu-complete "M-n" #'corfu-next "M-p" #'corfu-previous "C-g" #'corfu-quit -- cgit v1.0