[emacs] Add mixed-pitch mode

This commit is contained in:
Correl Roush 2020-02-06 10:39:09 -05:00
parent 22e1c9df08
commit 4c69476474
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,13 @@ outside of a terminal session.
(if (display-graphic-p) (if (display-graphic-p)
(global-unset-key (kbd "C-z"))) (global-unset-key (kbd "C-z")))
#+end_src #+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 * Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun my/choice (&rest things) (defun my/choice (&rest things)

View file

@ -19,3 +19,4 @@
(package! emms) (package! emms)
(package! org-sticky-header) (package! org-sticky-header)
(package! kubernetes) (package! kubernetes)
(package! mixed-pitch)