瀏覽代碼

RET in summary now moves to next page/article

Josh Bicking 6 年之前
父節點
當前提交
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)))))