map `gnus-group-get-new-news' to `g r'

Since the `g' key is remapped in an evilified state, use the combination `g r'
to refresh the group buffer. This is similarly done in magit.
This commit is contained in:
Matthew Leach 2019-08-27 21:34:01 +01:00 committed by duianto
parent e40c112d55
commit f088eb077c
3 changed files with 6 additions and 1 deletions

View File

@ -1548,6 +1548,9 @@ Other:
- Show magit-log-select and diff in two windows (thanks to duianto)
- Fixed magit conflicting with golden-ratio (thanks Eric Zhang)
- Hide with-editor mode-line indicator: =WE= (thanks to duianto)
**** Gnus
- Key bindings:
- Added ~g r~ for =gnus-group-get-new-news= (thanks to Matthew Leach)
**** Go
- Improved go test output buffer behavior (thanks to Denis Bernard)
- Configurable extra arguments to go run (thanks to Enze Chi)

View File

@ -116,6 +116,7 @@ Basic and Spacemacs specific key bindings can be found in the following table.
| ~SPC a g~ | Starts Gnus |
| ~m~ | New Message |
| ~G R~ | Group Buffer - Add RSS feed |
| ~g r~ | Group Buffer - Check for new mail |
| ~^~ | Open Server Buffer. Browse Newsgroups. |
| ~T n~ | Group Buffer - new Topic |
| ~T m~ | Group Buffer - Move Group to Topic |

View File

@ -76,7 +76,8 @@
(gnus-summary-scroll-up arg))))
(add-to-list 'nnmail-extra-headers nnrss-url-field)
(evilified-state-evilify gnus-group-mode gnus-group-mode-map)
(evilified-state-evilify gnus-group-mode gnus-group-mode-map
(kbd "g r") 'gnus-group-get-new-news)
(evilified-state-evilify gnus-server-mode gnus-server-mode-map)
(evilified-state-evilify gnus-browse-mode gnus-browse-mode-map)
(evilified-state-evilify gnus-article-mode gnus-article-mode-map)