[Emacs] Add doc for Nov, better keybinds and config
Text width should now be more compatible with writeroom-mode
This commit is contained in:
parent
77379a14c5
commit
605fb06ab2
@ -1584,6 +1584,10 @@ notification system, and I’ll 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 don’t 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 I’ll 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
|
||||||
|
Loading…
Reference in New Issue
Block a user