2019-08-05 00:41:05 +00:00
|
|
|
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
;; Set font
|
2020-03-09 15:50:16 +00:00
|
|
|
(setq doom-font (font-spec :family "FuraCode NF" :size 12))
|
|
|
|
(pcase (system-name)
|
|
|
|
("zuk"
|
|
|
|
(font-put doom-font :size 15)) ;; Wayland support for high HDPI scaling has some issues. Increasing the font size works
|
|
|
|
)
|
2019-08-05 00:41:05 +00:00
|
|
|
;; Orgmode
|
|
|
|
(custom-set-variables '(org-directory "~/org"))
|
|
|
|
(setq-default org-download-image-dir "~/org/resources/")
|
2020-03-09 15:50:54 +00:00
|
|
|
(add-hook 'org-mode-hook #'visual-line-mode) ;; Enable word wrap
|
|
|
|
(eval-after-load "org" '(require 'ox-md nil t)) ;; allow md export
|
2019-08-05 00:41:05 +00:00
|
|
|
(setq deft-directory "~/org/")
|
|
|
|
|
2020-03-09 16:04:59 +00:00
|
|
|
;; org-journal-file-format
|
|
|
|
(customize-set-variable 'org-journal-date-format "%A, %d %B %Y")
|
|
|
|
|
|
|
|
|
2019-12-02 04:29:04 +00:00
|
|
|
;; Have projectile automatically check code.
|
2020-03-09 16:05:38 +00:00
|
|
|
(setq projectile-project-search-path '("~/code/" "~/Code/"))
|
2019-12-02 04:29:04 +00:00
|
|
|
|
2019-09-17 23:44:18 +00:00
|
|
|
(setq doom-localleader-key ",")
|