From c9950cbc5a2fde830bbed555d5c03c13ff71c102 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 23 Feb 2021 12:13:22 -0600 Subject: Add nov.el --- config.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config.org b/config.org index adabfac..bbb8fed 100644 --- a/config.org +++ b/config.org @@ -2318,6 +2318,23 @@ one day. (define-key acdw/leader "s" #'acdw/eshell-or-bury) #+end_src +** E-books with nov.el :package: + +I /love/ the name of this package. + +#+begin_src emacs-lisp :noweb-ref packages + (straight-use-package 'nov) +#+end_src + +#+begin_src emacs-lisp :noweb-ref settings + (setq-default nov-text-width t) +#+end_src + +#+begin_src emacs-lisp :noweb-ref hooks + (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) + (add-hook 'nov-mode-hook #'acdw/reading-mode) +#+end_src + * Org mode :package: ** Install it with =straight.el= -- cgit 1.4.1-21-gabe81