diff options
author | odave <aryadevchavali1@gmail.com> | 2020-04-05 03:00:27 +0100 |
---|---|---|
committer | odave <aryadevchavali1@gmail.com> | 2020-04-05 03:00:27 +0100 |
commit | 37136fc985607e5c8ddccd4c8d80c3521305c72f (patch) | |
tree | ae726a0e9d20e638c677ee0e5943036448ab1f4e /doom.d | |
parent | 198a9b6a86dc83547c4f5695f8ec9b65138145b8 (diff) | |
download | dotfiles-37136fc985607e5c8ddccd4c8d80c3521305c72f.tar.gz dotfiles-37136fc985607e5c8ddccd4c8d80c3521305c72f.tar.bz2 dotfiles-37136fc985607e5c8ddccd4c8d80c3521305c72f.zip |
~restructured the elfeed package config for literacy
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/org/config.org | 10 |
1 files changed, 9 insertions, 1 deletions
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: |