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.

44 lines
1.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
  1. #+TITLE: Feeds
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle feeds.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 [[file:website.org][Website]][fn:2] to make sure the RSS feeds are updating correctly
  10. + Add some subreddits, mostly about ~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://chrishayward.xyz/index.xml")
  16. ("https://reddit.com/r/emacs.rss")
  17. ("https://reddit.com/r/orgmode.rss")
  18. ("https://reddit.com/r/emacsporn.rss")))))
  19. #+end_src
  20. * Shortcuts
  21. Configure ~elfeed~ keybindings behind =SPC l=:
  22. + Open with =l=
  23. + Update with =u=
  24. #+begin_src emacs-lisp
  25. (dotfiles/leader
  26. "l" '(:ignore t :which-key "Elfeed")
  27. "ll" '(elfeed :which-key "Open")
  28. "lu" '(elfeed-update :which-key "Update"))
  29. #+end_src
  30. * Footnotes
  31. [fn:1] https://github.com/skeeto/elfeed
  32. [fn:2] https://chrishayward.xyz/index.xml