Explorar o código

RET in summary now moves to next page/article

Josh Bicking %!s(int64=6) %!d(string=hai) anos
pai
achega
b31e6949ea
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      emacs/.emacs.d/packages/packages.el

+ 3 - 1
emacs/.emacs.d/packages/packages.el

@@ -697,7 +697,9 @@
   :init
   (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
   (add-hook 'gnus-startup-hook
-            '(lambda () (cl-loop for mode in (list gnus-article-mode-map gnus-group-mode-map gnus-summary-mode-map)
+            '(lambda ()
+	       (define-key gnus-summary-mode-map (kbd "RET") 'gnus-summary-next-page)
+	       (cl-loop for mode in (list gnus-article-mode-map gnus-group-mode-map gnus-summary-mode-map)
                          do (cl-loop for key in (list "RET" "G")
                                   do (evil-passthrough-key 'motion mode key)))))