Use Magit and mu4e as default Emacs clients

This commit is contained in:
Fabio Scotto di Santolo
2026-04-17 10:49:16 +02:00
parent 986c7317c4
commit 28710244f4
3 changed files with 6 additions and 0 deletions

View File

@@ -45,6 +45,8 @@
(mu4e-trash-folder . "/iCloudAccount/Junk")))))
(setq sendmail-program "/usr/bin/msmtp"
mail-user-agent 'mu4e-user-agent
read-mail-command 'mu4e
send-mail-function 'sendmail-send-it
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")

View File

@@ -8,6 +8,7 @@
;; Setting variables
(setq vc-follow-symlinks 't)
(setq vc-handled-backends nil)
(prefer-coding-system 'utf-8-unix)
(setq custom-file (null-device))

View File

@@ -31,6 +31,7 @@
(autoload 'magit-commit "magit" nil t)
(autoload 'magit-push "magit" nil t)
(autoload 'magit-fetch "magit" nil t)
(global-set-key (kbd "C-x g") #'magit-status)
;; keybinding (sempre definite nella mappa)
(define-key fscotto/git-map (kbd "s") #'magit-status)
@@ -52,6 +53,8 @@
;; -------- mu4e --------
(autoload 'mu4e "mu4e" nil t)
(autoload 'mu4e-compose-new "mu4e" nil t)
(global-set-key (kbd "C-x m") #'mu4e-compose-new)
(define-key fscotto/open (kbd "m") #'mu4e)
;; -------- elfeed --------