diff options
author | Case Duckworth | 2021-05-04 09:54:59 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-04 09:54:59 -0500 |
commit | 278990cb9b7ba672b879b6826f82cf34a18926b1 (patch) | |
tree | c3006bec4ad7d7d28ba4eb03a9b1d6399b569dd5 | |
parent | Merge branch 'main' of https://tildegit.org/acdw/emacs (diff) | |
download | emacs-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.el | 5 |
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\\.*" |