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

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

[elpa] master e68e3a2 133/215: Add a few bindings to shortkey-mode


From: Rocky Bernstein
Subject: [elpa] master e68e3a2 133/215: Add a few bindings to shortkey-mode
Date: Sat, 30 Jul 2016 14:49:00 +0000 (UTC)

branch: master
commit e68e3a20fd94633cf8ae4f6c14606311baab9846
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>

    Add a few bindings to shortkey-mode
    
    This is in preparation for refactoring cmds.el.  All keys were picked
    from calls to cmd-remap.
---
 realgud/common/key.el |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/realgud/common/key.el b/realgud/common/key.el
index a7bd912..19dd397 100644
--- a/realgud/common/key.el
+++ b/realgud/common/key.el
@@ -105,6 +105,10 @@ Nor does it touch prefix keys; for that see 
`realgud-populate-keys-standard'"
   (let ((prefix-map (make-sparse-keymap)))
     (define-key map "b" 'realgud:cmd-break)
     (define-key map "D" 'realgud:cmd-delete)
+    (define-key map "X" 'realgud:cmd-clear)
+    (define-key map "-" 'realgud:cmd-disable)
+    (define-key map "+" 'realgud:cmd-enable)
+    (define-key map "T" 'realgud:cmd-backtrace)
     (define-key map [delete] 'realgud:cmd-delete)
     (define-key map [enter] 'realgud:cmd-repeat-last)
     (define-key map (kbd "RET") 'realgud:cmd-repeat-last)
@@ -112,6 +116,7 @@ Nor does it touch prefix keys; for that see 
`realgud-populate-keys-standard'"
     (define-key map "f" 'realgud:cmd-finish)
     (define-key map "n" 'realgud:cmd-next)
     (define-key map "q" 'realgud:cmd-quit)
+    (define-key map "k" 'realgud:cmd-kill)
     (define-key map "r" 'realgud:cmd-restart)
     (define-key map "R" 'realgud:cmd-restart)
     (define-key map "s" 'realgud:cmd-step)



reply via email to

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