From f1f0dd2d8e783e0adf387a0a7828c23fb73c3fd4 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 11 Jun 2021 18:34:08 +0200 Subject: [PATCH] [Emacs] Add EPUB reader --- org/config/emacs.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 554aa27..065cfc9 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1352,6 +1352,31 @@ notification system, and I’ll activate the modeline notification. (setq mu4e-alert-interesting-mail-query "<>")) #+end_src +*** Nov +#+begin_src emacs-lisp + (use-package nov + :straight (:build t) + :defer t + :mode ("\\.epub\\'" . nov-mode) + :general + (:keymaps 'nov-mode-map + :states 'normal + "SPC" nil + "[" #'nov-previous-document + "]" #'nov-next-document + "c" #'nov-previous-document + "t" #'nov-scroll-up + "C-d" #'nov-scroll-down + "s" #'nov-scroll-down + "C-u" #'nov-scroll-up + "r" #'nov-next-document + "gm" #'nov-display-metadata + "gr" #'nov-render-document + "gt" #'nov-goto-toc + "gv" #'nov-view-source + "gV" #'nov-view-content-source)) +#+end_src + *** PDF Tools #+begin_src emacs-lisp (use-package pdf-tools