summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-08-09 20:47:06 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-08-10 22:41:28 -0700
commitdac55207a73043b4606d2490554d90cecee6056f (patch)
treed082949b33e738a0caca141d5565d6efee863899
parent5f1a8b786d79b1de81c214212e7a0298b29e6bee (diff)
downloaddotfiles-dac55207a73043b4606d2490554d90cecee6056f.tar.gz
rebind k and M-k in Gnus summary buffers
-rw-r--r--.emacs.d/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index eda26c15..386de7ae 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -3150,7 +3150,11 @@ mutt's review view, after exiting EDITOR."
(with-eval-after-load 'gnus-art
(define-key gnus-mime-button-map "a" #'spw/gnus-mime-apply-part))
-;;; Bindings go under 'v' because that is reserved to Gnus users.
+(with-eval-after-load 'gnus-sum
+ (define-key gnus-summary-mode-map "k" "ToTkg")
+ (define-key gnus-summary-mode-map "\M-k" "Tkg"))
+
+;;; Following bindings go under 'v' because that is reserved to Gnus users.
;; There's an alternative to having a dedicated command for this described in
;; (info "(gnus) Security"), "Snarfing OpenPGP keys".