feature/popup: make extra sure escape=>doom/escape in popups #261
This commit is contained in:
parent
5f52e21796
commit
e02f01b694
1 changed files with 7 additions and 1 deletions
|
@ -84,7 +84,13 @@ deleted.")
|
|||
"Active keymap in a session with the popup system enabled. See
|
||||
`+popup-mode'.")
|
||||
|
||||
(defvar +popup-buffer-mode-map (make-sparse-keymap)
|
||||
(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))
|
||||
map)
|
||||
"Active keymap in popup windows. See `+popup-buffer-mode'.")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue