Fix meta keybinds in popup in tty Emacs #869
Meta keys map to ESC in tty Emacs.
This commit is contained in:
parent
142d3646ef
commit
a1440f8d66
1 changed files with 3 additions and 3 deletions
|
@ -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'.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue