Skip to content

Commit

Permalink
transient{,-predicate}-map: Bind other-{frame,window}-prefix
Browse files Browse the repository at this point in the history
Re #305.
  • Loading branch information
tarsius committed Sep 13, 2024
1 parent 1caa096 commit af1f517
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -1737,14 +1737,16 @@ to `transient-predicate-map'."
If you add a new command here, then you must also add a binding
to `transient-predicate-map'. Also see `transient-base-map'."
:parent transient-base-map
"C-u" #'universal-argument
"C--" #'negative-argument
"C-t" #'transient-show
"?" #'transient-help
"C-h" #'transient-help
"C-u" #'universal-argument
"C--" #'negative-argument
"C-x 5 5" #'other-frame-prefix
"C-x 4 4" #'other-window-prefix
"C-t" #'transient-show
"?" #'transient-help
"C-h" #'transient-help
;; Also bound to "C-x p" and "C-x n" in transient-common-commands.
"C-M-p" #'transient-history-prev
"C-M-n" #'transient-history-next)
"C-M-p" #'transient-history-prev
"C-M-n" #'transient-history-next)

(defvar-keymap transient-edit-map
:doc "Keymap that is active while a transient in is in \"edit mode\"."
Expand Down Expand Up @@ -1851,6 +1853,8 @@ of the corresponding object."
"<universal-argument-more>" #'transient--do-stay
"<negative-argument>" #'transient--do-minus
"<digit-argument>" #'transient--do-stay
"<other-frame-prefix>" #'transient--do-stay
"<other-window-prefix>" #'transient--do-stay
"<top-level>" #'transient--do-quit-all
"<transient-quit-all>" #'transient--do-quit-all
"<transient-quit-one>" #'transient--do-quit-one
Expand Down

0 comments on commit af1f517

Please sign in to comment.