dotfiles/emacs/doom.d/config.el

22 lines
647 B
EmacsLisp

;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Set font
(setq doom-font (font-spec :family "FuraCode NF" :size 15))
;; Orgmode
;; Set orgmode dir
(custom-set-variables '(org-directory "~/org"))
;; Default location for image location.
(setq-default org-download-image-dir "~/org/resources/")
;; Enable word wrap
(add-hook 'org-mode-hook #'visual-line-mode)
;; Orgmode: Enable md export
(eval-after-load "org" '(require 'ox-md nil t))
;; Deft: Set path to Org-mope Directory
(setq deft-directory "~/org/")
;; Have projectile automatically check code.
(setq projectile-project-search-path '("~/code/"))
(setq doom-localleader-key ",")