branch: master
commit e68e3a20fd94633cf8ae4f6c14606311baab9846
Author: Clément Pit--Claudel <[email protected]>
Commit: Clément Pit--Claudel <[email protected]>
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)