summaryrefslogtreecommitdiff
path: root/emacs/.doom.d
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-11-22 12:54:34 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-11-22 12:54:34 -0500
commit413986e2e0b254cf93628e9d50f8ea42b1efc572 (patch)
treee666fd8cb22544056b0b71d3996ff9027bcff76c /emacs/.doom.d
parentaeaceeb18ef3bbc8a7856d1f35910c70dc505265 (diff)
Add proportional fonts in org-mode
Diffstat (limited to 'emacs/.doom.d')
-rw-r--r--emacs/.doom.d/config.el6
-rw-r--r--emacs/.doom.d/init.el2
2 files changed, 6 insertions, 2 deletions
diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el
index 55dae26..8015ac4 100644
--- a/emacs/.doom.d/config.el
+++ b/emacs/.doom.d/config.el
@@ -19,6 +19,7 @@
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
;; font string. You generally only need these two:
(setq doom-font (font-spec :family "iosevka" :size 14))
+(setq doom-variable-pitch-font (font-spec :family "Noto Serif" :size 14))
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
@@ -27,7 +28,7 @@
(when (equal "pincer" (system-name))
(setq doom-theme 'doom-one-light))
(when (equal "orbekk" (system-name))
- (setq doom-themer 'doom-acario-light))
+ (setq doom-theme 'doom-acario-light))
;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads!
@@ -56,4 +57,7 @@
(after! racket-mode
(remove-hook! 'racket-mode #'racket-smart-open-bracket-mode))
+(after! org
+ (add-hook 'org-mode-hook 'mixed-pitch-mode))
+
(load-file "~/.doom.d/config.local.el")
diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el
index 16fa494..18e81b5 100644
--- a/emacs/.doom.d/init.el
+++ b/emacs/.doom.d/init.el
@@ -48,7 +48,7 @@
vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows
workspaces ; tab emulation, persistence & separate workspaces
- ;;zen ; distraction-free coding or writing
+ zen ; distraction-free coding or writing
(emoji +unicode) ; 😇
:editor