diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 6606b00..617d516 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -252,20 +252,20 @@ (use-package modus-themes :straight t :config - (setf modus-themes-italic-constructs t + (setf modus-themes-italic-constructs nil modus-themes-bold-constructs nil modus-themes-mixed-fonts nil modus-themes-variable-pitch-ui nil modus-themes-custom-auto-reload t modus-themes-disable-other-themes t - modus-themes-prompts '(italic bold) + modus-themes-prompts '(italic) modus-themes-completions '((matches . (extrabold)) (selection . (semibold italic text-also underline))) modus-themes-org-blocks 'tinted-background) ;; Palette overrides (setf modus-themes-common-palette-overrides '((fg-line-number-inactive "gray40") - (fg-line-number-active cyan-intense) + (fg-line-number-active cyan-intense) ;; (bg-main "#1d2021") ;;grubox-hard (bg-main "#191919") ;; 1337 ;; (bg-main "#1d1f21") ;; tomorrow night @@ -321,6 +321,8 @@ ("C-x r ." . 'consult-register) ("C-x r s" . 'consult-register-store) ("C-x r b" . 'consult-bookmark) + ("C-c m" . 'consult-imenu) + ("C-x b" . 'consult-buffer) ("M-y" . 'consult-yank-from-kill-ring) ("C-s" . 'thanos/search) :map thanos/search @@ -369,13 +371,14 @@ 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) + ("http://rss-bridge.thanosapollo.org/?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://rss-bridge.thanosapollo.org/?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://rss-bridge.thanosapollo.org/?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://rss-bridge.thanosapollo.org/?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://rss-bridge.thanosapollo.org/?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=Atom" news cnn americas) ("https://annas-blog.org/rss.xml" anna piracy) + ("https://rss-bridge.thanosapollo.org/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.bbc.com%2Fnews%2Fworld&url_selector=a.ssrcss-9haqql-LinkPostLink&url_pattern=&content_selector=article.ssrcss-djshh9-ArticleWrapper+&content_cleanup=div.ssrcss-11faxz6-TagShareWrapper%2C+ul.ssrcss-17wa8hx-MetadataStripContainer%2C+div.ssrcss-1qmkvfu-TopicListWrapper+&title_cleanup=&limit=&format=Atom" news bbc world) ("https://planet.emacslife.com/atom.xml" emacs emacslife))) :bind (("C-c a f" . elfeed) :map elfeed-search-mode-map @@ -430,7 +433,9 @@ :defer t) (use-package ox-hugo - :ensure t) + :ensure t + :config + (setf org-hugo-section "post")) (use-package json-mode :defer t @@ -501,6 +506,9 @@ (use-package org-auto-tangle :defer t) +(use-package org-present + :defer t) + (use-package expand-region :defer t) @@ -629,7 +637,8 @@ :ensure t :config (setf yeetube-results-limit 20 - yeetube-mpv-disable-video t) + yeetube-mpv-disable-video t + yeetube-display-thumbnails t) :bind (("C-c y" . 'thanos/yeetube-map) :map thanos/yeetube-map ("s" . 'yeetube-search) @@ -658,7 +667,7 @@ ("r" . 'gnosis-review) ("a" . 'gnosis-add-note) ("C-d" . 'gnosis-dashboard) - ("d" . 'gnosis-add-deck) + ("C-a" . 'gnosis-add-deck) ("t" . 'gnosis-test-start))) ;; Run vc-pull on startup @@ -753,6 +762,16 @@ (use-package package-lint :defer t) +(use-package consult-mu + :straight (consult-mu :type git :host github :repo "armindarvish/consult-mu" :files (:defaults "extras/*.el")) + :after (mu4e consult) + :bind (:map mu4e-main-mode-map + ("M-s" . 'consult-mu) + :map mu4e-view-mode-map + ("M-s" . 'consult-mu) + :map mu4e-headers-mode-map + ("M-s" . 'consult-mu))) + (require 'thanos-commands) ;; Misc commands (when (or is-zeus is-hermes) (require 'thanos-mu4e)) |