summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-18 01:42:44 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-18 01:42:44 -0500
commitb3161663588395eb0c2d74a34bbf86ba3b0e110e (patch)
tree3120d3e2af0c33db30e050c6376f95744f23f9d4 /lisp
parentc453defffa4ad8539674d29dd0097aaef779fbc7 (diff)
downloademacs.d-b3161663588395eb0c2d74a34bbf86ba3b0e110e.tar.gz
gnus: Add prefix map for article and summary 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