summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-gnus.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/init-gnus.el b/lisp/init-gnus.el
index a3b961f..d9ccd7a 100644
--- a/lisp/init-gnus.el
+++ b/lisp/init-gnus.el
@@ -178,6 +178,14 @@ to group buffer instead of moving to next group."
(kbd "C-c j") 'km/gnus-follow-last-message-link)
(define-key gnus-article-mode-map "e" 'shr-browse-url)
+(define-prefix-command 'km/gnus-summary-prefix-map)
+(define-key gnus-summary-mode-map (kbd "C-c m") 'km/gnus-summary-prefix-map)
+(define-key km/gnus-summary-prefix-map "p" 'km/gnus-open-github-patch)
+
+(define-prefix-command 'km/gnus-article-prefix-map)
+(define-key gnus-article-mode-map (kbd "C-c m") 'km/gnus-article-prefix-map)
+(define-key km/gnus-article-prefix-map "p" 'km/gnus-open-github-patch)
+
;;; Message mode