[emacs] Add nov.el mode

This commit is contained in:
2024-02-07 11:04:27 -05:00
parent 531251671c
commit e789160261

View File

@ -91,6 +91,13 @@
(defvar host-dir "~/.config/doom/hosts/")
(add-load-path! host-dir)
;; Setup nov.el mode for epubs and change font
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(defun my-nov-font-setup ()
(face-remap-add-relative 'variable-pitch :family "Overpass"
:height 1.0))
(add-hook 'nov-mode-hook 'my-nov-font-setup)
;;(let ((init-host-feature (intern (concat "init-" host ".el"))))
;; (load-file init-host-feature))