Add hl-line-mode to elfeed-search-mode

This commit is contained in:
Case Duckworth 2022-01-04 17:26:37 -06:00
parent 5cc254bf3f
commit 0b1230e97c
1 changed files with 5 additions and 3 deletions

View File

@ -859,15 +859,17 @@ See also `crux-reopen-as-root-mode'."
elfeed-search-title-max-width 78
elfeed-show-unique-buffers t
elfeed-db-directory (elfeed/ "db/" t))
;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hphfh4e/
(advice-add #'elfeed-search-update--force :after #'elfeed-db-save)
(:with-mode elfeed-search-mode
(:hook #'hl-line-mode)
;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hphfh4e/
(advice-add #'elfeed-search-update--force :after #'elfeed-db-save))
(:with-mode elfeed-show-mode
(:bind "SPC" #'+elfeed-scroll-up-command
"S-SPC" #'+elfeed-scroll-down-command)
(:hook #'reading-mode)
(define-advice elfeed-show-entry (:after (&rest _))
"Re-flow the entry a short time after showing it."
(run-at-time 0 nil #'elfeed-show-refresh))))
(run-at-time 0.1 nil #'elfeed-show-refresh))))
(setup (:straight elfeed-org)
(:option rmh-elfeed-org-files (list (elfeed/ "elfeed.org" t)))