mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add transient quit bindings
this adds back the dismiss behavior of "popups" that was lost from the magit-popup -> transient update
This commit is contained in:
@ -445,11 +445,14 @@
|
|||||||
|
|
||||||
;;; :tools
|
;;; :tools
|
||||||
(map! (:when (featurep! :tools magit)
|
(map! (:when (featurep! :tools magit)
|
||||||
:after evil-magit
|
(:after evil-magit
|
||||||
;; fix conflicts with private bindings
|
;; fix conflicts with private bindings
|
||||||
:map (magit-status-mode-map magit-revision-mode-map)
|
:map (magit-status-mode-map magit-revision-mode-map)
|
||||||
"C-j" nil
|
"C-j" nil
|
||||||
"C-k" nil)
|
"C-k" nil)
|
||||||
|
(:map transient-map
|
||||||
|
[escape] #'transient-quit-one
|
||||||
|
"q" #'transient-quit-one))
|
||||||
|
|
||||||
(:when (featurep! :tools gist)
|
(:when (featurep! :tools gist)
|
||||||
:after gist
|
:after gist
|
||||||
|
Reference in New Issue
Block a user