Pārlūkot izejas kodu

Add plantuml and some new emacs mail settings

Colin Powell 5 gadi atpakaļ
vecāks
revīzija
1cd0754de5

+ 9 - 3
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

+ 44 - 0
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.
+ )

+ 1 - 2
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)