mu4e init
This commit is contained in:
parent
6db376ddd6
commit
d110c3085d
1 changed files with 92 additions and 60 deletions
|
@ -338,7 +338,7 @@ kept-old-versions 5)
|
|||
** Evil
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(use-package evil
|
||||
(use-package evil
|
||||
:init
|
||||
;; Pre-load configuration
|
||||
(setq evil-want-integration t)
|
||||
|
@ -378,7 +378,7 @@ kept-old-versions 5)
|
|||
(evil-set-initial-state 'messages-buffer-mode 'normal)
|
||||
(evil-set-initial-state 'dashboard-mode 'normal))
|
||||
|
||||
(use-package evil-collection
|
||||
(use-package evil-collection
|
||||
:after evil
|
||||
:custom
|
||||
(evil-collection-outline-bind-tab-p nil)
|
||||
|
@ -387,9 +387,11 @@ kept-old-versions 5)
|
|||
(setq evil-collection-company-use-tng nil)
|
||||
(delete 'lispy evil-collection-mode-list)
|
||||
(delete 'org-present evil-collection-mode-list)
|
||||
(delete 'mu4e evil-collection-mode-list)
|
||||
(delete 'mu4e-conversation evil-collection-mode-list)
|
||||
(evil-collection-init))
|
||||
|
||||
(use-package evil-org
|
||||
(use-package evil-org
|
||||
:after (evil org)
|
||||
:hook ((org-mode . evil-org-mode)
|
||||
(org-agenda-mode . evil-org-mode))
|
||||
|
@ -398,10 +400,10 @@ kept-old-versions 5)
|
|||
(evil-org-set-key-theme '(navigation todo insert textobjects additional))
|
||||
(evil-org-agenda-set-keys))
|
||||
|
||||
(use-package evil-nerd-commenter
|
||||
:bind ("M-/" . evilnc-comment-or-uncomment-lines))
|
||||
(use-package evil-nerd-commenter
|
||||
:bind ("M-/" . evilnc-comment-or-uncomment-lines))
|
||||
|
||||
(with-eval-after-load 'org
|
||||
(with-eval-after-load 'org
|
||||
(evil-define-key '(normal insert visual) org-mode-map (kbd "C-j") 'org-next-visible-heading)
|
||||
(evil-define-key '(normal insert visual) org-mode-map (kbd "C-k") 'org-previous-visible-heading)
|
||||
(evil-define-key '(normal insert visual) org-mode-map (kbd "M-j") 'org-metadown)
|
||||
|
@ -999,6 +1001,36 @@ its over the machines took over guys can i get my likes now
|
|||
:stream t
|
||||
:models '("mistral:latest")))
|
||||
#+end_src
|
||||
** mu4e
|
||||
GNU patch review metho dor sometihng idk
|
||||
#+begin_src emacs-lisp
|
||||
(use-package mu4e
|
||||
:config
|
||||
|
||||
;; mu4e syncing issue with isync
|
||||
(setq mu4e-change-filenames-when-moving t)
|
||||
|
||||
(setq mu4e-update-interval (* 10 60))
|
||||
(setq mu4e-get-mail-command "mbsync -a")
|
||||
(setq mu4e-maildir "~/Mail")
|
||||
|
||||
(setq mu4e-contexts
|
||||
(list
|
||||
;; outlook
|
||||
(make-mu4e-context
|
||||
:name "Outlook"
|
||||
:match-func
|
||||
(lambda (msg)
|
||||
(when msg
|
||||
(string-prefix-p "/Outlook" (mu4e-message-field msg :maildir))))
|
||||
:vars `((user-mail-address . (shell-command-to-string "pass Microsoft | awk 'FNR == 2{gsub(\"login: \", \"\"); gsub(/ /, \"\"); print}'"))
|
||||
(user-full-name . "Sako")
|
||||
(mu4e-drafts-folder . "/Outlook/Drafts")
|
||||
(mu4e-sent-folder . "/Outlook/Sent")
|
||||
(mu4e-refile-folder . "/Outlook/Inbox")
|
||||
(mu4e-trash-folder . "/Outlook/Deleted")))))
|
||||
)
|
||||
#+end_src
|
||||
* Org
|
||||
#+begin_src emacs-lisp
|
||||
(message "Reached Org")
|
||||
|
|
Loading…
Reference in a new issue