Add nov.el
This commit is contained in:
parent
fc67e45e6e
commit
c9950cbc5a
17
config.org
17
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=
|
||||
|
|
Loading…
Reference in New Issue