[Emacs] Add doc for Nov, better keybinds and config

Text width should now be more compatible with writeroom-mode
This commit is contained in:
Lucien Cartier-Tilet 2021-06-22 16:30:09 +02:00
parent 77379a14c5
commit 605fb06ab2
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1584,6 +1584,10 @@ notification system, and Ill activate the modeline notification.
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Applications-Nov0da1fl6184j0 :CUSTOM_ID: Packages-Configuration-Applications-Nov0da1fl6184j0
:END: :END:
Nov is a major-mode for reading EPUB files within Emacs. Since I have
it, I dont need any other Epub reader on my computer! Plus this one
is customizable and programmable, why would I use any other EPUB
reader?
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package nov (use-package nov
:straight (:build t) :straight (:build t)
@ -1593,19 +1597,21 @@ notification system, and Ill activate the modeline notification.
(:keymaps 'nov-mode-map (:keymaps 'nov-mode-map
:states 'normal :states 'normal
"SPC" nil "SPC" nil
"[" #'nov-previous-document
"]" #'nov-next-document
"c" #'nov-previous-document "c" #'nov-previous-document
"t" #'nov-scroll-up "t" #'nov-scroll-up
"C-d" #'nov-scroll-down "C-d" #'nov-scroll-up
"s" #'nov-scroll-down "s" #'nov-scroll-down
"C-u" #'nov-scroll-up "C-u" #'nov-scroll-down
"r" #'nov-next-document "r" #'nov-next-document
"gm" #'nov-display-metadata "gm" #'nov-display-metadata
"gn" #'nov-next-document
"gp" #'nov-previous-document
"gr" #'nov-render-document "gr" #'nov-render-document
"gt" #'nov-goto-toc "gt" #'nov-goto-toc
"gv" #'nov-view-source "gv" #'nov-view-source
"gV" #'nov-view-content-source)) "gV" #'nov-view-content-source)
:config
(setq nov-text-width 95))
#+end_src #+end_src
*** PDF Tools *** PDF Tools