]> git.vanrenterghem.biz Git - Dotty.git/blobdiff - emacs/.emacs.d/init.el
Auto refresh emails and change theming options.
[Dotty.git] / emacs / .emacs.d / init.el
index 8b56c188e591bd2c1ecb921769e314c3e93faded..4d58dfe1031f2b8d83e2a70edf9ce0acc1530c59 100644 (file)
@@ -11,7 +11,9 @@
 
 ;; Use light theme
 ;;(load-theme 'leuven t)
+(require 'modus-themes)
 (load-theme 'modus-operandi t)
+(setq modus-themes-mixed-fonts t)
 
 ;; ESS - for working in R
 (autoload 'R-mode "ess-site.el" "Major mode for editing R source." t)
 
 (require 'org)
 
+;; Automatically flow lines based on window width and use
+;; variable width fonts in org-mode.
+(add-hook 'org-mode-hook 'visual-line-mode)
+(add-hook 'org-mode-hook 'variable-pitch-mode)
+
 ;; Auctex
 (load "auctex.el" nil t t)
 (load "preview-latex.el" nil t t)
 (require 'mu4e)
 (setq mail-user-agent 'mu4e-user-agent)
 (setq mu4e-get-mail-command "mbsync io")
+(setq mu4e-update-interval 600)
 (setq mu4e-use-fancy-chars t)
 (setq mu4e-view-show-images t)
 (setq mu4e-sent-folder   "/Sent"