2019-08-05 00:41:05 +00:00
|
|
|
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
2020-06-03 03:25:02 +00:00
|
|
|
;; Use "," as leader.
|
|
|
|
(setq doom-localleader-key ",")
|
|
|
|
|
2021-11-11 20:27:29 +00:00
|
|
|
;; Speed up which key response
|
|
|
|
(setq which-key-idle-delay 0.1)
|
|
|
|
|
2021-04-02 19:47:25 +00:00
|
|
|
;; Firacode is broken with Emacs-plus on osx. Fallback to Hasklig
|
2022-08-30 18:26:43 +00:00
|
|
|
(setq doom-font (font-spec :family "Hasklig" :size 14)
|
|
|
|
doom-variable-pitch-font (font-spec :family "ETbembo" :size 19)
|
2021-04-02 19:47:25 +00:00
|
|
|
doom-big-font (font-spec :family "Hasklig" :size 16))
|
|
|
|
|
2019-08-05 00:41:05 +00:00
|
|
|
;; Set font
|
2020-03-09 15:50:16 +00:00
|
|
|
(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-03-09 15:50:16 +00:00
|
|
|
)
|
2020-03-09 16:04:59 +00:00
|
|
|
|
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
|
|
|
|
2022-10-11 17:34:30 +00:00
|
|
|
(setq ispell-dictionary "en"
|
|
|
|
ispell-personal-dictionary "~/org/.ispell.en.pws")
|
2021-09-14 00:09:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
(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")
|
2021-04-02 19:52:30 +00:00
|
|
|
(load! "+modeline")
|
2021-04-02 19:53:52 +00:00
|
|
|
(load! "+window")
|