dotfiles/emacs/config.el

39 lines
1.1 KiB
EmacsLisp
Raw Normal View History

;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Use "," as leader.
(setq doom-localleader-key ",")
;; Speed up which key response
(setq which-key-idle-delay 0.1)
;; Firacode is broken with Emacs-plus on osx. Fallback to Hasklig
(setq doom-font (font-spec :family "Hasklig" :size 14)
<<<<<<< HEAD
doom-variable-pitch-font (font-spec :family "ETbembo" :size 19)
doom-big-font (font-spec :family "Hasklig" :size 16))
=======
doom-variable-pitch-font (font-spec :family "Alegreya" :size 17)
doom-big-font (font-spec :family "Hasklig" :size 17))
>>>>>>> 65c8b81 (You know I think I may need glasses at some point.)
;; Set font
(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))
)
2020-06-03 03:22:57 +00:00
;; Use an image splash
2022-12-27 00:30:55 +00:00
(setq fancy-splash-image (concat doom-user-dir "doom.png"))
2020-06-03 03:22:57 +00:00
(setq ispell-dictionary "en")
(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_redmine.greenfiling.com.*\\.txt" . markdown-mode))
2020-06-02 00:15:08 +00:00
(load! "+mail")
(load! "+org")
(load! "+modeline")
(load! "+window")