diff options
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 69 |
1 files changed, 22 insertions, 47 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 11686c9..95ca726 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -350,56 +350,31 @@ browse-url-browser-function #'browse-url-default-browser) ;; Feeds (setf elfeed-feeds - '(("https://hackaday.com/blog/feed/" - hackaday linux) - ("https://protesilaos.com/news.xml" - protesilaos) - ("https://protesilaos.com/codelog.xml" - proetesilaos) - ("https://guix.gnu.org/feeds/blog.atom" - gnu guix) - ("https://thanosapollo.com/posts/index.xml" - thanos) - ("http://nullprogram.com/feed/" - emacs linux) - ("https://drewdevault.com/blog/index.xml" - sourcehut drewdevault) - ("https://archlinux.org/feeds/news/" - ArchLinux Latest) - ("http://wikileaks.org/feed" - wikileaks) - ("https://hackernoon.com/feed" - hackernoon) - ("https://sachachua.com/blog/feed/" - sacha emacs) - ("https://bits.debian.org/feeds/feed.rss" - debian linux) - ("https://torrentfreak.com/feed" - torrentfreak piracy) - ("https://wp.medscape.com/cx/rssfeeds/2700.xml" - med medscape) - ("https://www.science.org/action/showFeed?type=etoc&feed=rss&jc=sciimmunol" - science) - ("https://www.who.int/rss-feeds/news-english.xml" - who medicine) - ("https://annas-blog.org/rss.xml" - anna piracy) - ("https://www.addtoany.com/add_to/feed?linkurl=http%3A%2F%2Fwww.thelancet.com%2Frssfeed%2Flancet_online.xml&type=feed&linkname=The%20Lancet%20Online%20First&linknote=" - lancet medicine) - ("https://www.addtoany.com/add_to/feed?linkurl=http%3A%2F%2Fwww.thelancet.com%2Frssfeed%2Flanhae_online.xml&type=feed&linkname=The%20Lancet%20Haematology%20Online%20First&linknote=" - lancet haematology medicine) - ("https://totsipaki.net/ikiwiki/nparafe/%CE%9C%CF%80%CE%BB%CE%BF%CE%B3%CE%BA/index.rss" - nikos fsf))) + '(("https://hackaday.com/blog/feed/" + hackaday linux) + ("https://thanosapollo.com/posts/index.xml" + thanos) + ("http://wikileaks.org/feed" + wikileaks) + ("https://hackernoon.com/feed" + hackernoon) + ("https://torrentfreak.com/feed" + torrentfreak piracy) + ("https://www.science.org/action/showFeed?type=etoc&feed=rss&jc=sciimmunol" + science) + ("http://uranus:3000/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.medscape.com%2Findex%2Flist_13470_0&url_selector=a.title&url_pattern=%2Fviewarticle*&content_selector=article&content_cleanup=div.faf-content%2C+div.heading%2C+div.pwHidden&title_cleanup=-+Index&limit=&format=Atom" medscape med) + ("http://uranus:3000/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fmedfac.mu-sofia.com%2Fen%2Fnews%2F&url_selector=div.news-card&url_pattern=%2F*&content_selector=article.richtext-area&content_cleanup=&title_cleanup=&limit=&format=Atom" musofia med) + ("http://uranus:3000/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.nytimes.com%2Fsection%2Fworld%2F&url_selector=a.css-8hzhxf&url_pattern=&content_selector=div.css-53u6y8&content_cleanup=div.faf-content%2C+div.heading%2C+div.pwHidden&title_cleanup=-+Index&limit=&format=Atom" news world nyt) + ("http://uranus:3000/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fedition.cnn.com%2Fworld%2Feurope&url_selector=a.container__link--type-article&url_pattern=&content_selector=div.article__content&content_cleanup=&&title_cleanup=-+breaking+news%2C+video%2C+headlines+and+opinion&limit=&format=Atom" news cnn europe) + ("http://uranus:3000/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fedition.cnn.com%2Fworld%2Famericas&url_selector=a.container__link--type-article&url_pattern=&content_selector=div.article__content&content_cleanup=div.data-uri&title_cleanup=-+breaking+news%2C+video%2C+headlines+and+opinion&limit=&format=Html" news cnn americas) + ("https://annas-blog.org/rss.xml" + anna piracy) + ("https://planet.emacslife.com/atom.xml" emacs emacslife))) :bind (("C-c a f" . elfeed) :map elfeed-search-mode-map ("v" . 'elfeed-mpv) - ("U" . 'elfeed-update))) - -(use-package elfeed-goodies - :defer t - :config - (setf elfeed-goodies/entry-pane-size 0.55) - (elfeed-goodies/setup)) + ("U" . 'elfeed-update)) + :hook ((elfeed-search-mode . (lambda () (display-line-numbers-mode 0))))) (use-package python-mode :defer t |