branch: externals/detached commit 1092140da8a3b16c26a3fc21fdcb917260d205fa Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Add detached-session-map Add keymap that can be used on sessions. --- detached.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/detached.el b/detached.el index fc5d90b97e..bb14c9bf07 100644 --- a/detached.el +++ b/detached.el @@ -227,6 +227,14 @@ If set to a non nil value the latest entry to ;;;;; Public +(defvar detached-session-map + (let ((map (make-sparse-keymap))) + (define-key map "e" #'detached-edit-and-run-session) + (define-key map "r" #'detached-rerun-session) + (define-key map "w" #'detached-copy-session-command) + (define-key map "W" #'detached-copy-session) + map)) + (defvar detached-enabled nil) (defvar detached-session-mode 'attached