From 6647f72957dad695dd2aef3acabe3dd1466692f7 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 15 Apr 2024 10:07:12 +0300 Subject: 2024-04-15 --- modules/common/emacs/doom/config.el | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'modules/common/emacs/doom') diff --git a/modules/common/emacs/doom/config.el b/modules/common/emacs/doom/config.el index ac2578e..329931b 100644 --- a/modules/common/emacs/doom/config.el +++ b/modules/common/emacs/doom/config.el @@ -4,7 +4,7 @@ (setq frame-title-format '("GNU Emacs")) -(setq-hook! 'prog-mode-hook +(setq-hook! '(prog-mode-hook yaml-mode-hook) display-line-numbers-type 'relative scroll-margin 10 hscroll-margin 10) @@ -235,3 +235,19 @@ (setq-local company-idle-delay 0.1)))) :init (setq hledger-input-buffer-height 20)) + +;; +;;; elfeed +;; + +(add-hook! 'elfeed-new-entry-hook + '((elfeed-make-tagger :before "2 weeks ago" + :remove 'unread) + (elfeed-make-tagger :feed-title "SberMarket Tech" + :entry-title (not ".*(DevOps|Golang).*") + :add 'junk + :remove 'unread) + (elfeed-make-tagger :feed-title "dotconferences" + :entry-title (not ".*dotGo.*") + :add 'junk + :remove 'unread))) -- cgit 1.4.1