diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-04-15 10:07:12 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-04-15 10:07:12 +0300 |
commit | 6647f72957dad695dd2aef3acabe3dd1466692f7 (patch) | |
tree | bb331db9ac81fd3eed1ed797d3363bc143ce1940 /modules/common | |
parent | 2024-04-09 (diff) |
2024-04-15
Diffstat (limited to 'modules/common')
-rw-r--r-- | modules/common/emacs/default.nix | 4 | ||||
-rw-r--r-- | modules/common/emacs/doom/config.el | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix index 6bbba38..4c43fd5 100644 --- a/modules/common/emacs/default.nix +++ b/modules/common/emacs/default.nix @@ -188,7 +188,9 @@ in ;; :input japanese (setq migemo-dictionary "${pkgs.cmigemo}/share/migemo/utf-8/migemo-dict" - skk-large-jisyo "${pkgs.skk-dicts}/share/SKK-JISYO.L") + migemo-options '("--quiet" "--emacs") + skk-large-jisyo "${pkgs.skk-dicts}/share/SKK-JISYO.L" + skk-show-inline t) ;; :editor parinfer (setq parinfer-rust-auto-download nil 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))) |