about summary refs log tree commit diff
path: root/modules/common/emacs/doom
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-15 10:07:12 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-15 10:07:12 +0300
commit6647f72957dad695dd2aef3acabe3dd1466692f7 (patch)
treebb331db9ac81fd3eed1ed797d3363bc143ce1940 /modules/common/emacs/doom
parent2024-04-09 (diff)
2024-04-15
Diffstat (limited to 'modules/common/emacs/doom')
-rw-r--r--modules/common/emacs/doom/config.el18
1 files changed, 17 insertions, 1 deletions
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)))

Consider giving Nix/NixOS a try! <3