From 65aa56eee6bc5423569a605b08b66bdf8383e7c8 Mon Sep 17 00:00:00 2001 From: dx Date: Sat, 2 May 2020 07:17:34 +0100 Subject: +custom rss module When using the inbuilt RSS module, this becomes my personal config for that module. However, when not using that and instead using the newsticker inbuilt for Emacs, I've got a config for that as well. --- Doom/.doom.d/org/config.org | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) (limited to 'Doom/.doom.d/org/config.org') diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 9414dd6..49e4977 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -60,29 +60,6 @@ Easier to do than just running all those functions manually :leader :desc "Start debugging setup" "cD" #'dx:debug) #+END_SRC -** Elfeed -Custom functions to work with elfeed, generating new feeds on demand and adding -a keybind to help with that. -*** Feeds -Feeds for elfeed to download from. -#+BEGIN_SRC elisp -(setq elfeed-feeds - '(("http://feeds.bbci.co.uk/news/rss.xml" news) - ("http://www.technologyreview.com/rss") - ("https://news.ycombinator.com/rss" news compsci))) -#+END_SRC - -*** Keybinds -Keybinds for elfeed locally and for the leader. -#+BEGIN_SRC elisp -(map! - (:map elfeed-search-mode-map - :localleader - :desc "Update feeds" "u" #'elfeed-update) - (:leader - :prefix "o" - :desc "Open RSS" "f" #'=rss)) -#+END_SRC ** Dashboard My very own dashboard config using doom dashboard, with these features: - Custom load message @@ -530,8 +507,11 @@ General keymap (:prefix ("f" . "files") :desc "Open dotfiles" "p" #'(lambda () (interactive) (doom-project-find-file "~/Dotfiles"))) (:prefix ("o" . "open") - :after org - :desc "Calendar" "c" #'=calendar) + (:when (featurep! private rss newsticker) + :desc "Open newsticker" "n" #'+rss/open-newsticker + :desc "Close newsticker" "N" #'+rss/close-newsticker) + (:after org + :desc "Calendar" "c" #'=calendar)) (:prefix ("n" . "notes") :desc "Open notes in dired" "-" #'(lambda () (interactive) (dired org-directory)))) #+END_SRC -- cgit v1.2.3-13-gbd6f