Просмотр исходного кода

RET in summary now moves to next page/article

Josh Bicking 6 лет назад
Родитель
Сommit
b31e6949ea
1 измененных файлов с 3 добавлено и 1 удалено
  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)))))