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
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(when (featurep! :feature evil)
|
||||
;; for maximum escape coverage in emacs state buffers
|
||||
(define-key map [escape] #'doom/escape)
|
||||
(define-key map (kbd "ESC") #'doom/escape))
|
||||
;; For maximum escape coverage in emacs state buffers; this only works in
|
||||
;; GUI Emacs, in tty Emacs use C-g instead
|
||||
(define-key map [escape] #'doom/escape))
|
||||
map)
|
||||
"Active keymap in popup windows. See `+popup-buffer-mode'.")
|
||||
|
||||
|
Reference in New Issue
Block a user