diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-30 12:10:16 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-04-30 12:10:16 +0200 |
| commit | a4db6d208fa3b007dd630b72ca83cacd35c77d56 (patch) | |
| tree | 9c10ceaf9da939723dc036f8a02dbd16e50134a7 | |
| parent | 040a847caa49b436342fa8427581f6dcfd4ea8ec (diff) | |
corfu-map: Use \M-x instead of \ex
| -rw-r--r-- | corfu.el | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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.") |
