[emacs] Update init for emacs
This commit is contained in:
@ -4,9 +4,9 @@
|
||||
(setq ivy-read-action-function #'ivy-hydra-read-action)
|
||||
|
||||
(setq doom-theme 'doom-challenger-deep
|
||||
doom-font (font-spec :family "JetBrains Mono NL" :size 14 :weight 'semi-light)
|
||||
doom-big-font (font-spec :family "JetBrains Mono NL" :size 17)
|
||||
doom-variable-pitch-font (font-spec :family "Overpass" :size 17))
|
||||
doom-font (font-spec :family "JetBrains Mono NL" :size 12 :weight 'semi-light)
|
||||
doom-big-font (font-spec :family "JetBrains Mono NL" :size 16)
|
||||
doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
|
||||
|
||||
;; Applies to current frame
|
||||
(set-frame-parameter nil 'internal-border-width 10) ; applies to the current frame
|
||||
@ -231,18 +231,13 @@
|
||||
|
||||
;(add-hook 'nov-mode-hook 'variable-pitch-mode)
|
||||
|
||||
;(load! "+mail") ;; Mail stuff
|
||||
|
||||
; Use w3m to parse HTML email
|
||||
(setq mm-text-html-renderer 'w3m)
|
||||
(setq w3m-fill-column 88)
|
||||
|
||||
; Kill email message buffers when you close them
|
||||
(setq message-kill-buffer-on-exit t)
|
||||
(setq message-auto-save-directory "~/Mail/colin@unbl.ink/Drafts/")
|
||||
(setq message-directory "~/Mail/colin@unbl.ink/")
|
||||
|
||||
;;; Setup sending email with msmtp
|
||||
;; sendmail-program "/usr/local/bin/msmtpq" <--- this doesn't work as advertised right now
|
||||
(setq send-mail-function 'sendmail-send-it
|
||||
sendmail-program "/usr/local/bin/msmtp"
|
||||
@ -252,6 +247,11 @@
|
||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||
mail-envelope-from 'header)
|
||||
|
||||
(setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i")
|
||||
(:name "unread" :query "tag:inbox and tag:unread" :key "u")
|
||||
(:name "jira" :query "tag:jira and date:yesterday..today" :key "j")
|
||||
(:name "github" :query "tag:github and date:yesterday..today" :key "g")))
|
||||
|
||||
(after! notmuch
|
||||
(set-popup-rule! "^\\*notmuch*" :ignore t)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user