Add hl-line-mode to elfeed-search-mode
This commit is contained in:
parent
5cc254bf3f
commit
0b1230e97c
8
init.el
8
init.el
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue