some temp workarounds

This commit is contained in:
Matt Nish-Lapidus 2024-09-07 22:24:08 -04:00
parent c866312818
commit ff11fa1d19
3 changed files with 15 additions and 3 deletions

View file

@ -246,6 +246,15 @@
;; :config ;; :config
;; (ready-player-add-to-auto-mode-alist)) ;; (ready-player-add-to-auto-mode-alist))
;; override aggressive key shortcuts for alt-l/r
(use-package! drag-stuff
:defer t
:init
(map! "<M-up>" #'drag-stuff-up
"<M-down>" #'drag-stuff-down
"<M-left>" #'left-word
"<M-right>" #'right-word))
;; load additional config files ;; load additional config files
(load! "obsidian-config.el") (load! "obsidian-config.el")
(load! "mu4e-config.el") (load! "mu4e-config.el")

View file

@ -155,7 +155,7 @@
(zig +lsp) ; C, but simpler (zig +lsp) ; C, but simpler
:email :email
mu4e (mu4e +mbsync)
:app :app
;;calendar ;;calendar

View file

@ -84,7 +84,7 @@
;; tell meow to start mu4e in motion state ;; tell meow to start mu4e in motion state
(pushnew! meow-mode-state-list '(mu4e-main-mode . motion)) (pushnew! meow-mode-state-list '(mu4e-main-mode . motion))
(setq mu4e-update-interval 300 (setq mu4e-update-interval 60
mu4e-headers-auto-update t) mu4e-headers-auto-update t)
(setq (setq
@ -135,6 +135,7 @@
;; (:name "The Boss" :query "from:stallman" :key ?s) ;; (:name "The Boss" :query "from:stallman" :key ?s)
;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w) ;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w)
;; (:name "Messages with images" :query "mime:image/*" :key ?p))) ;; (:name "Messages with images" :query "mime:image/*" :key ?p)))
(mu4e-bookmark-define (mu4e-bookmark-define
(concat "maildir:/matt@emenel.ca/Drafts" (concat "maildir:/matt@emenel.ca/Drafts"
" or maildir:/admin@studyoftime.org/Drafts") " or maildir:/admin@studyoftime.org/Drafts")
@ -176,7 +177,6 @@
"All Inboxes" "All Inboxes"
?i) ?i)
(setq mu4e-maildir-shortcuts (setq mu4e-maildir-shortcuts
'((:maildir "/matt@emenel.ca/Inbox" :key ?1 :name "Inbox/matt@emenel.ca") '((:maildir "/matt@emenel.ca/Inbox" :key ?1 :name "Inbox/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Drafts" :key ?2 :name "Drafts/matt@emenel.ca") (:maildir "/matt@emenel.ca/Drafts" :key ?2 :name "Drafts/matt@emenel.ca")
@ -189,5 +189,8 @@
(setq mu4e-alert-email-notification-types '(count)) (setq mu4e-alert-email-notification-types '(count))
;; FIXME: workaround for issue with doom mu4e not expanding ~
(setq mu4e-get-mail-command "mbsync -a")
(add-hook! mu4e-compose-mode (add-hook! mu4e-compose-mode
(ws-butler-mode -1))) (ws-butler-mode -1)))