summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-04-30 12:10:16 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2022-04-30 12:10:16 +0200
commita4db6d208fa3b007dd630b72ca83cacd35c77d56 (patch)
tree9c10ceaf9da939723dc036f8a02dbd16e50134a7 /corfu.el
parent040a847caa49b436342fa8427581f6dcfd4ea8ec (diff)
corfu-map: Use \M-x instead of \ex
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/corfu.el b/corfu.el
index 316b324..453f90d 100644
--- a/corfu.el
+++ b/corfu.el
@@ -235,14 +235,14 @@ The completion backend can override this with
;; 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)
+ (define-key map "\M-n" #'corfu-next)
+ (define-key map "\M-p" #'corfu-previous)
(define-key map "\C-g" #'corfu-quit)
(define-key map "\r" #'corfu-insert)
(define-key map "\t" #'corfu-complete)
- (define-key map "\eg" 'corfu-info-location)
- (define-key map "\eh" 'corfu-info-documentation)
- (define-key map (concat "\e" " ") #'corfu-insert-separator) ;; Avoid ugly warning
+ (define-key map "\M-g" 'corfu-info-location)
+ (define-key map "\M-h" 'corfu-info-documentation)
+ (define-key map "\M- " #'corfu-insert-separator)
map)
"Corfu keymap used when popup is shown.")