mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix meta keybinds in popup in tty Emacs #869
Meta keys map to ESC in tty Emacs.
This commit is contained in:
@ -43,9 +43,9 @@ adjustment.")
|
|||||||
(defvar +popup-buffer-mode-map
|
(defvar +popup-buffer-mode-map
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(when (featurep! :feature evil)
|
(when (featurep! :feature evil)
|
||||||
;; for maximum escape coverage in emacs state buffers
|
;; For maximum escape coverage in emacs state buffers; this only works in
|
||||||
(define-key map [escape] #'doom/escape)
|
;; GUI Emacs, in tty Emacs use C-g instead
|
||||||
(define-key map (kbd "ESC") #'doom/escape))
|
(define-key map [escape] #'doom/escape))
|
||||||
map)
|
map)
|
||||||
"Active keymap in popup windows. See `+popup-buffer-mode'.")
|
"Active keymap in popup windows. See `+popup-buffer-mode'.")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user