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:
Luigy Leon 2019-02-18 11:38:55 -05:00
parent 94b16cba6c
commit 5e0385ed6b

View file

@ -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