Skip to content

Commit

Permalink
Bind forge-dispatch in magit-repolist-mode-map
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Dec 22, 2024
1 parent bb4d203 commit 5792f35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lisp/forge.el
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ is loaded, then `magit-mode-map' ends up being modified anyway.")
(keymap-set magit-mode-map "<remap> <magit-copy-thing>"
#'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
Expand Down

0 comments on commit 5792f35

Please sign in to comment.