From 5792f358ccd91c0d6079b50a7e8bc9223605fbbe Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sun, 22 Dec 2024 15:50:58 +0100 Subject: [PATCH] Bind forge-dispatch in magit-repolist-mode-map --- lisp/forge.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/forge.el b/lisp/forge.el index d8437f23..0df7573f 100644 --- a/lisp/forge.el +++ b/lisp/forge.el @@ -107,6 +107,11 @@ is loaded, then `magit-mode-map' ends up being modified anyway.") (keymap-set magit-mode-map " " #'forge-copy-url-at-point-as-kill))) +;;;###autoload +(with-eval-after-load 'magit-repos + (when forge-add-default-bindings + (keymap-set magit-repolist-mode-map "N" #'forge-dispatch))) + ;;;###autoload (with-eval-after-load 'git-commit (when forge-add-default-bindings