From 4c69476474ab004e9492dbc8ed854d38bc5a9db9 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 6 Feb 2020 10:39:09 -0500 Subject: [PATCH] [emacs] Add mixed-pitch mode --- .doom.d/config.org | 7 +++++++ .doom.d/packages.el | 1 + 2 files changed, 8 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index e79b6f3..245cc15 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -24,6 +24,13 @@ outside of a terminal session. (if (display-graphic-p) (global-unset-key (kbd "C-z"))) #+end_src +** Mixed Pitch +Facilitates mixing monospace and proportional fonts. +#+begin_src emacs-lisp + (use-package! mixed-pitch + :hook ((org-mode markdown-mode rst-mode) . mixed-pitch-mode)) + (setq doom-variable-pitch-font (font-spec :family "DejaVu Serif")) +#+end_src * Dashboard #+begin_src emacs-lisp (defun my/choice (&rest things) diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 3d5c9b5..baeca31 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -19,3 +19,4 @@ (package! emms) (package! org-sticky-header) (package! kubernetes) +(package! mixed-pitch)