dotfiles/emacs/doom.d/config.el

28 lines
820 B
EmacsLisp
Raw Normal View History

;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Set font
(setq doom-font (font-spec :family "FuraCode NF" :size 12))
(pcase (system-name)
("zuk"
2020-05-08 23:46:37 +00:00
;; Wayland support for high HDPI scaling has some issues.
;; Increasing the font size is a working stopgap.
(font-put doom-font :size 15))
)
;; Orgmode
(custom-set-variables '(org-directory "~/org"))
(setq-default org-download-image-dir "~/org/resources/")
2020-05-08 23:46:37 +00:00
;; Enable word wrap
(add-hook 'org-mode-hook #'visual-line-mode)
;; allow md export
(eval-after-load "org" '(require 'ox-md nil t))
(setq deft-directory "~/org/")
;; 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-05-09 00:44:17 +00:00
(setq projectile-project-search-path '("~/src/" "~/Code/"))
2019-12-02 04:29:04 +00:00
2019-09-17 23:44:18 +00:00
(setq doom-localleader-key ",")