1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/emacs/.config/doom/config.el

57 lines
1.6 KiB
EmacsLisp
Raw Normal View History

2019-12-01 17:47:48 +00:00
;;; .doom.d/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here
;; General settings
2019-12-02 14:50:13 +00:00
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12)
doom-theme 'doom-molokai)
;; projectile
2019-12-04 18:49:18 +00:00
(use-package! projectile
:config
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/")))
2019-12-01 17:47:48 +00:00
;; irc
2019-12-04 18:49:18 +00:00
(use-package! circe
:config
(setq circe-network-options
`(
("znc-freenode"
:host "irc.higherlearning.eu"
:port "5000"
:tls t
:user "l0rd/freenode"
:server-buffer-name "⇄ Freenode (ZNC)"
:pass (lambda (&rest _) (+pass-get-secret "controlpanel/irc.higherlearning.eu"))
:channels ("#emacs"))
("znc-snoonet"
:host "irc.higherlearning.eu"
:port "5000"
:tls t
:user "l0rd/snoonet"
:server-buffer-name "⇄ Snoonet (ZNC)"
:pass (lambda (&rest _) (+pass-get-secret "controlpanel/irc.higherlearning.eu"))
:channels ("#islam"))
))
:hook (circe-channel-mode . enable-lui-autopaste)
)
;; notmuch
(use-package! notmuch
:config
(setq +notmuch-sync-backend 'mbsync
+notmuch-sync-command "mailsync"
sendmail-program "/usr/bin/msmtp"
message-sendmail-f-is-evil t
message-sendmail-extra-arguments '("--read-envelope-from")
message-send-mail-function 'message-send-mail-with-sendmail)
)
;; org
(after! org
(map! :map org-mode-map
:n "M-j" #'org-metadown
:n "M-k" #'org-metaup)
)
(setq org-directory "~/Documents/org/"
org-log-done 'note)