dotfiles/emacs/config.el

28 lines
761 B
EmacsLisp

;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Use "," as leader.
(setq doom-localleader-key ",")
;; Set font
(setq doom-font (font-spec :family "FuraCode NF" :size 12))
(pcase (system-name)
("zuk"
;; Wayland support for high HDPI scaling has some issues.
;; Increasing the font size is a working stopgap.
(font-put doom-font :size 15))
)
;; Use an image splash
(setq fancy-splash-image (concat doom-private-dir "doom.png"))
(setq
;; Have projectile automatically check code.
projectile-project-search-path (seq-filter 'file-directory-p '("~/src" "~/Code" "~/opt"))
;; Make sort reasonable.
projectile-sort-order 'access-time)
(add-to-list 'projectile-globally-ignored-directories "node_modules")
(load! "+mail")
(load! "+org")