I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.6 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. #+TITLE: Elfeed
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle elfeed.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. Setup a news feed inside of Emacs using ~elfeed~[fn:1], an Emacs web feeds client.
  8. * Setup
  9. + Add the feed for my website[fn:2] to make sure the RSS feeds are updating correctly
  10. + Add some subreddits, mostly about ~linux~, ~emacs~ and ~org-mode~
  11. #+begin_src emacs-lisp
  12. (use-package elfeed
  13. :commands (elfeed elfeed-update)
  14. :custom (elfeed-feeds (quote
  15. (("https://hexdsl.co.uk/rss.xml")
  16. ("https://lukesmith.xyz/rss.xml")
  17. ("https://friendo.monster/rss.xml")
  18. ("https://chrishayward.xyz/index.xml")
  19. ("https://protesilaos.com/codelog.xml")))))
  20. #+end_src
  21. ** Goodies
  22. Extend ~elfeed~[fn:1] with the ~elfeed-goodies~[fn:3] package.
  23. #+begin_src emacs-lisp
  24. (use-package elfeed-goodies
  25. :after elfeed
  26. :custom (elfeed-goodies/entry-pane-size 0.5)
  27. :config (elfeed-goodies/setup))
  28. #+end_src
  29. * Shortcuts
  30. Configure ~elfeed~[fn:1] keybindings behind =SPC l=:
  31. + Open with =l=
  32. + Update with =u=
  33. #+begin_src emacs-lisp
  34. (dotfiles/leader
  35. "l" '(:ignore t :which-key "Elfeed")
  36. "ll" '(elfeed :which-key "Open")
  37. "lu" '(elfeed-update :which-key "Update"))
  38. #+end_src
  39. * Footnotes
  40. [fn:1] https://github.com/skeeto/elfeed
  41. [fn:2] https://chrishayward.xyz/index.xml
  42. [fn:3] https://github.com/algernon/elfeed-goodies