refactor: organize emacs config
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
5997e83b32
commit
7c75810123
7 changed files with 220 additions and 175 deletions
42
.emacs.d/include/mu4econfig.el
Normal file
42
.emacs.d/include/mu4econfig.el
Normal file
|
@ -0,0 +1,42 @@
|
|||
;;; mu4econfig.el --- Configuration for mu4e.
|
||||
;;; Commentary:
|
||||
;; Configuration for mu4e.
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
|
||||
(require 'mu4e)
|
||||
|
||||
(setq
|
||||
mue4e-headers-skip-duplicates t
|
||||
mu4e-view-show-images t
|
||||
mu4e-view-show-addresses t
|
||||
mu4e-compose-format-flowed nil
|
||||
mu4e-date-format "%Y-%m-%d"
|
||||
mu4e-headers-date-format "%Y-%m-%d"
|
||||
mu4e-change-filenames-when-moving t
|
||||
mu4e-attachments-dir "~/Downloads"
|
||||
|
||||
mu4e-maildir "~/mail" ;; top-level Maildir
|
||||
;; note that these folders below must start with /
|
||||
;; the paths are relative to maildir root
|
||||
mu4e-refile-folder "/Archive"
|
||||
mu4e-sent-folder "/Sent"
|
||||
mu4e-drafts-folder "/Drafts"
|
||||
mu4e-trash-folder "/Trash")
|
||||
|
||||
;; this setting allows to re-sync and re-index mail
|
||||
;; by pressing U
|
||||
(setq mu4e-get-mail-command "mbsync -a")
|
||||
|
||||
(setq
|
||||
message-send-mail-function 'smtpmail-send-it
|
||||
smtpmail-default-smtp-server "smtp.fastmail.com"
|
||||
smtpmail-smtp-server "smtp.fastmail.com")
|
||||
|
||||
(setq user-full-name "Lucas Sta Maria")
|
||||
(setq user-mail-address "lucas@priime.dev")
|
||||
(setq smtpmail-smtp-service 587)
|
||||
|
||||
|
||||
(provide 'mu4econfig)
|
||||
;;; mu4econfig.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue