From 1cd0754de5472354646b42a166dabfa6b2a1b76c Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 19 Jul 2019 07:33:01 -0400 Subject: [PATCH] Add plantuml and some new emacs mail settings --- emacs/.config/doom/config.el | 12 +++++++--- emacs/.config/doom/init.el | 44 ++++++++++++++++++++++++++++++++++ emacs/.config/doom/packages.el | 3 +-- 3 files changed, 54 insertions(+), 5 deletions(-) diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 09280a7..0c112fa 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -85,8 +85,10 @@ :desc "Switch themes" "t" #'load-theme) (:prefix "o" :desc "Elfeed feed reader" "f" #'elfeed) + (:prefix "o" + :desc "Compose an email" "c" #'notmuch-mua-new-mail) (:prefix "b" - :desc "Black format buffer" "f" #'blacken-buffer) + :desc "Black format buffer" "f" #'blacken-buffer) (:prefix "/" :desc "Search the web" "w" #'web-search) (:prefix "y" @@ -115,8 +117,9 @@ ;; app/rss (add-hook! 'elfeed-show-mode-hook (text-scale-set 1.5)) -(setq rmh-elfeed-org-files (list "~/org/elfeed.org")) -(setq elfeed-search-filter "@1-week-ago +unread ") + +(setq rmh-elfeed-org-files (list "~/org/elfeed.org") + elfeed-search-filter "@1-week-ago +unread ") ;; emacs/eshell (after! eshell @@ -136,9 +139,12 @@ (setq send-mail-function 'sendmail-send-it sendmail-program "/usr/local/bin/msmtp" mail-specify-envelope-from t + message-sendmail-f-is-evil t message-sendmail-envelope-from 'header + message-sendmail-extra-arguments '("--read-envelope-from") mail-envelope-from 'header) +(add-to-list 'auto-mode-alist '("\\.plantuml\\'" . planetuml-mode)) (load! "+ui.el") (load! "+org") ;; Org mode stuff like todos and rebindings diff --git a/emacs/.config/doom/init.el b/emacs/.config/doom/init.el index 1162a52..77f7f6e 100644 --- a/emacs/.config/doom/init.el +++ b/emacs/.config/doom/init.el @@ -151,3 +151,47 @@ (setq evil-want-C-i-jump nil) +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(ansi-color-names-vector + ["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"]) + '(custom-safe-themes + (quote + ("84da7b37214b4ac095a55518502dfa82633bee74f64daf6e1785322e77516f96" "8ffdc8c66ceeaf7921f4510a70d808f01b303e6b4d177c947b442e80d4228678" default))) + '(doom-big-font-mode t) + '(fci-rule-color "#5B6268") + '(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef")) + '(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65")) + '(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a")) + '(objed-cursor-color "#ff6c6b") + '(vc-annotate-background "#282c34") + '(vc-annotate-color-map + (list + (cons 20 "#98be65") + (cons 40 "#b4be6c") + (cons 60 "#d0be73") + (cons 80 "#ECBE7B") + (cons 100 "#e6ab6a") + (cons 120 "#e09859") + (cons 140 "#da8548") + (cons 160 "#d38079") + (cons 180 "#cc7cab") + (cons 200 "#c678dd") + (cons 220 "#d974b7") + (cons 240 "#ec7091") + (cons 260 "#ff6c6b") + (cons 280 "#cf6162") + (cons 300 "#9f585a") + (cons 320 "#6f4e52") + (cons 340 "#5B6268") + (cons 360 "#5B6268"))) + '(vc-annotate-very-old-color nil)) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) diff --git a/emacs/.config/doom/packages.el b/emacs/.config/doom/packages.el index 87e3701..7b02061 100644 --- a/emacs/.config/doom/packages.el +++ b/emacs/.config/doom/packages.el @@ -57,11 +57,10 @@ (package! elfeed-web) (package! emojify) (package! deadgrep) -(package! parchment-theme) -(package! monokai-pro-theme) ;; modes! (package! terraform-mode) +(package! plantuml-mode) ;; themes (package! nimbus-theme)