From 37136fc985607e5c8ddccd4c8d80c3521305c72f Mon Sep 17 00:00:00 2001 From: odave Date: Sun, 5 Apr 2020 03:00:27 +0100 Subject: ~restructured the elfeed package config for literacy --- doom.d/org/config.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doom.d') diff --git a/doom.d/org/config.org b/doom.d/org/config.org index cb0e2fc..03cb777 100644 --- a/doom.d/org/config.org +++ b/doom.d/org/config.org @@ -57,6 +57,9 @@ A keybind and a routine ** Elfeed Custom functions to work with elfeed, generating new feeds on demand and adding a keybind to help with that. + +*** Custom functions and hook +These functions allow me to custom load and generate new feeds based on an opml file. #+BEGIN_SRC elisp (after! elfeed (defun oreodave/elfeed/load-feeds () @@ -70,7 +73,13 @@ a keybind to help with that. (write-file (concat org-directory "/elfeed.opml")) (kill-current-buffer)) + (add-hook 'elfeed-org-new-entry-hook 'oreodave/elfeed/on-new-feed)) +#+END_SRC +*** Keybinds +Keybinds for elfeed locally and for the leader. +#+BEGIN_SRC elisp (map! + :after elfeed (:map elfeed-search-mode-map :localleader :desc "Update feeds" "u" #'elfeed-update) @@ -78,7 +87,6 @@ a keybind to help with that. :prefix "o" :desc "Open RSS" "f" #'=rss)) - (add-hook 'elfeed-org-new-entry-hook 'oreodave/elfeed/on-new-feed)) #+END_SRC ** Dashboard My very own dashboard config using doom dashboard, with these features: -- cgit v1.2.3-13-gbd6f