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:
parent
94b16cba6c
commit
5e0385ed6b
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue