commit 33658606b8b6a3947752730cd874ba2354d36955
parent f3acdd2e9081e859e47bab16a4127968494a7058
Author: MichaĆ M. Sapka <michal@sapka.me>
Date: Thu, 4 May 2023 16:14:33 +0200
feat: rg, elfeed and few others
Diffstat:
1 file changed, 93 insertions(+), 4 deletions(-)
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
@@ -33,7 +33,14 @@
(require 'use-package)
-;; ASDF
+;; rg
+(use-package rg
+ :ensure t
+ :config
+ (rg-enable-default-bindings)
+)
+
+;; qASDF
(add-to-list 'exec-path "~/.asdf/shims")
;; LSP
@@ -109,7 +116,8 @@
("<tab>" . company-indent-or-complete-common))
:custom
(company-minimum-prefix-length 1)
- (company-idle-delay 0.0))
+ (company-idle-delay 0.0)
+ (company-global-modes '(not org-mode)))
;; Email
(use-package notmuch
@@ -117,6 +125,11 @@
:commands notmuch-hello
:bind (("C-c m" . notmuch-hello)))
+;; Blogging
+(use-package ox-hugo
+ :ensure t ;Auto-install the package from Melpa
+ :after ox)
+
;; IRC
(use-package circe
:ensure t
@@ -185,13 +198,90 @@
(use-package nov)
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
+(use-package elfeed
+ :ensure t
+ :config
+ (setq elfeed-feeds
+ '(
+ ("https://cprss.s3.amazonaws.com/rubyweekly.com.xml" engineering)
+ ("https://feeds.feedburner.com/digest-programming" engineering)
+ ("https://zendesk.engineering/feed" engineering)
+ ("https://shopify.engineering/blog.atom" engineering)
+ ("http://rss.slashdot.org/Slashdot/slashdotMain" news)
+ ("https://gideonwolfe.com/index.xml" blog imporant)
+ ("https://fabiensanglard.net/rss.xml" blog important)
+ ("https://grumpygamer.com/rss" blog important)
+ ("https://lunduke.substack.com/feedn" blog)
+ ("https://frame.work/blog.rss" company)
+ ("https://lukesmith.xyz/rss.xml" blog important)
+
+ ("https://odysee.com/$/rss/@Luke/70" video important)
+ ("https://odysee.com/$/rss/@AlphaNerd:8" video)
+ ("https://odysee.com/$/rss/@TheLinuxExperiment:e" video)
+ ("https://odysee.com/$/rss/@DistroTube:2" video)
+ ("https://odysee.com/$/rss/@danwood:0" video)
+ ("https://odysee.com/$/rss/@SystemCrafters:e" video)
+ ("https://odysee.com/$/rss/@RoboNuggie:0" video)
+ ("https://odysee.com/$/rss/@Pine64:a" video)
+ ("https://odysee.com/$/rss/@jblow:0" video)
+ ("https://odysee.com/$/rss/@GaryHTech:0" video)
+ ("https://odysee.com/$/rss/@fireship:6" video)
+
+
+ ("https://world.hey.com/dhh/feed.atom" blog)
+ ("https://dev.37signals.com/feed/posts.xml" engineering important)
+ ("https://www.pine64.org/feed/" company)
+ ("https://github.com/koekeishiya/yabai/releases.atom" repo)
+
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg" video) ;; Wolfgang's Channel
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCMiyV_Ib77XLpzHPQH_q0qQ" video) ;; Veronica Explains
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UClOGLGPOqlAiLmOvXW5lKbw" video) ;; MandaloreGaming
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCNmv1Cmjm3Hk8Vc9kIgv0AQ" video) ;; Grim Beard
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCEHFikgnRuLd1HYKTLrae9Q" video) ;; A Life Engineered
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCJ6KZTTnkE-s2XFJJmoTAkw" video) ;; Accursed Farm
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UC2Xd-TjJByJyK2w1zNwY0zQ" video) ;; Beyond Fireship
+ ("https://www.youtube.com/feeds/videos.xml?channel_id=UC4w1YQAJMWOz4qtxinq55LQ" video) ;; Level1Techs
+
+
+ ("https://www.datagubbe.se/atom.xml tech" blog important)
+ ("https://feeds.arstechnica.com/arstechnica/features" news)
+ ("https://www.theregister.com/headlines.atom" news)
+ ("https://jvns.ca/atom.xml" blog)
+ ("https://rubenerd.com/feed/" blog important)
+ ("https://a3nm.net/blog/feed.xml" blog)
+ ("https://brainbaking.com/index.xml" blog important)
+ ("https://www.dosgameclub.com/category/episodes/feed/" gaming)
+ ("https://www.zendesk.com/public/assets/sitemaps/en/feed.xml" company)
+ ("https://bt.ht/atom.xml" blog)
+ ("https://robert.bearblog.dev/feed/" blog)
+ ("https://susam.net/blog/feed.xml" blog)
+ ("https://josem.co//articles/index.xml" blog)
+ ("https://pragmaticemacs.wordpress.com/feed/" blog emacs)
+ ))
+ (defface important-elfeed-entry
+ '((t :foreground "#f77"))
+ "Marks an important Elfeed entry.")
+
+ (defface nonimportant-elfeed-entry
+ '((t :foreground "#C0C0C0"))
+ "Marks an nonimportant Elfeed entry.")
+
+ (push '(important important-elfeed-entry)
+ elfeed-search-face-alist)
+ (push '(company nonimportant-elfeed-entry)
+ elfeed-search-face-alist)
+ (push '(news nonimportant-elfeed-entry)
+ elfeed-search-face-alist)
+
+ )
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
- '(org-roam lsp-ltex company typescript-mode tree-sitter-langs tree-sitter company-nmode asdf lsp-treemacs lsp-ivy lsp-ui lsp-mode which-key fido bongo magit circe nov notmuch git-gutter+ robe use-package))
+ '(slack ox-hugo org-roam lsp-ltex company typescript-mode tree-sitter-langs tree-sitter company-nmode asdf lsp-treemacs lsp-ivy lsp-ui lsp-mode which-key fido bongo magit circe nov notmuch git-gutter+ robe use-package))
'(warning-suppress-log-types '((use-package))))
(custom-set-faces
;; custom-set-faces was added by Custom.
@@ -199,4 +289,3 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
-