about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-05-04 09:54:59 -0500
committerCase Duckworth2021-05-04 09:54:59 -0500
commit278990cb9b7ba672b879b6826f82cf34a18926b1 (patch)
treec3006bec4ad7d7d28ba4eb03a9b1d6399b569dd5
parentMerge branch 'main' of https://tildegit.org/acdw/emacs (diff)
downloademacs-278990cb9b7ba672b879b6826f82cf34a18926b1.tar.gz
emacs-278990cb9b7ba672b879b6826f82cf34a18926b1.zip
Change gnus-group-mode keybindings
To save some time, I remap 'q' to bury the Gnus buffer, but to keep the
functionality, I moved the original bindings (gnus-group-exit, gnus-group-quit)
to 'Q' and '^Q', respectively.
-rw-r--r--gnus.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnus.el b/gnus.el index db7b0c9..b7fd69e 100644 --- a/gnus.el +++ b/gnus.el
@@ -89,6 +89,11 @@
89 gnus-read-newsrc-file nil 89 gnus-read-newsrc-file nil
90 gnus-interactive-exit nil) 90 gnus-interactive-exit nil)
91 91
92;; Keybindings
93(define-key gnus-group-mode-map (kbd "q") #'bury-buffer)
94(define-key gnus-group-mode-map (kbd "Q") #'gnus-group-exit)
95(define-key gnus-group-mode-map (kbd "C-q") #'gnus-group-quit)
96
92;;; Other parameters 97;;; Other parameters
93(setq gnus-parameters 98(setq gnus-parameters
94 '(("nnimap\\.*" 99 '(("nnimap\\.*"