Ver Fonte

RET in summary now moves to next page/article

Josh Bicking há 6 anos atrás
pai
commit
b31e6949ea
1 ficheiros alterados com 3 adições e 1 exclusões
  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)))))