diff options
author | Case Duckworth | 2021-02-23 12:13:22 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-23 12:13:22 -0600 |
commit | c9950cbc5a2fde830bbed555d5c03c13ff71c102 (patch) | |
tree | 1fc3314e92932c0c7d62d7fb63d94a69783c6b7c | |
parent | Bind F5 to recompile (diff) | |
download | emacs-c9950cbc5a2fde830bbed555d5c03c13ff71c102.tar.gz emacs-c9950cbc5a2fde830bbed555d5c03c13ff71c102.zip |
Add nov.el
-rw-r--r-- | config.org | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config.org b/config.org index adabfac..bbb8fed 100644 --- a/config.org +++ b/config.org | |||
@@ -2318,6 +2318,23 @@ one day. | |||
2318 | (define-key acdw/leader "s" #'acdw/eshell-or-bury) | 2318 | (define-key acdw/leader "s" #'acdw/eshell-or-bury) |
2319 | #+end_src | 2319 | #+end_src |
2320 | 2320 | ||
2321 | ** E-books with nov.el :package: | ||
2322 | |||
2323 | I /love/ the name of this package. | ||
2324 | |||
2325 | #+begin_src emacs-lisp :noweb-ref packages | ||
2326 | (straight-use-package 'nov) | ||
2327 | #+end_src | ||
2328 | |||
2329 | #+begin_src emacs-lisp :noweb-ref settings | ||
2330 | (setq-default nov-text-width t) | ||
2331 | #+end_src | ||
2332 | |||
2333 | #+begin_src emacs-lisp :noweb-ref hooks | ||
2334 | (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) | ||
2335 | (add-hook 'nov-mode-hook #'acdw/reading-mode) | ||
2336 | #+end_src | ||
2337 | |||
2321 | * Org mode :package: | 2338 | * Org mode :package: |
2322 | 2339 | ||
2323 | ** Install it with =straight.el= | 2340 | ** Install it with =straight.el= |