dotfiles/emacs/config.el
James Patrick d068046f1c Using Hasklig on OSX for emacs
Fira has a weird issue with OSX where its displaying ligature symbols as
hanzi characters. For the time being I'm going to use hasklig.
2020-08-21 18:05:10 -04:00

25 lines
624 B
EmacsLisp

;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Use "," as leader.
(setq doom-localleader-key ",")
;; Firacode is broken with Emacs-plus on osx. Fallback to Hasklig.
(if IS-MAC
(setq doom-font (font-spec :family "Hasklig" :size 12))
(setq doom-font (font-spec :family "FuraCode NF" :size 12))
)
;;
;; Set font
(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"))
(load! "+mail")
(load! "+org")