emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/transient 6236a4fd38 019/366: Bind ESC ESC ESC in all m


From: Jonas Bernoulli
Subject: [elpa] externals/transient 6236a4fd38 019/366: Bind ESC ESC ESC in all maps
Date: Tue, 25 Jan 2022 18:54:22 -0500 (EST)

branch: externals/transient
commit 6236a4fd387f2c391e04737b4475bdfe707ebaef
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Bind ESC ESC ESC in all maps
    
    Closes #12.
---
 lisp/transient.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/transient.el b/lisp/transient.el
index 2d05406e10..9ee2cb5c4e 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1043,6 +1043,7 @@ but unfortunately that does not exist (yet?)."
     (define-key map (kbd "C-g") 'transient-quit-one)
     (define-key map (kbd "C-q") 'transient-quit-all)
     (define-key map (kbd "C-z") 'transient-suspend)
+    (define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
     map)
   "Base keymap used by all transients.")
 
@@ -1054,6 +1055,7 @@ but unfortunately that does not exist (yet?)."
     (define-key map (kbd "C-g")   'transient-quit-one)
     (define-key map (kbd "C-q")   'transient-quit-all)
     (define-key map (kbd "C-z")   'transient-suspend)
+    (define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
     map)
   "Keymap that is active while a transient in is in \"edit mode\".")
 
@@ -1062,6 +1064,7 @@ but unfortunately that does not exist (yet?)."
     (define-key map (kbd "C-g") 'transient-quit-seq)
     (define-key map (kbd "C-q") 'transient-quit-all)
     (define-key map (kbd "C-z") 'transient-suspend)
+    (define-key map (kbd "ESC ESC ESC") 'transient-quit-all)
     map)
   "Keymap that is active while an incomplete key sequence is active.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]