spacemacs/layers/+readers/epub
André Peric Tavares 31b3d66e2b Add keybindings for scrolling in epub layer
Add `d` and `u` for scrolling down and up, just like the `pdf` layer.
Those are actually default `nov` keybings.

Invert `up` and `down` `nov` commands

Add keybindings in epub layer docs

Align table
2018-08-02 01:38:05 +03:00
..
img Refactor epub layer 2018-06-06 00:36:10 -04:00
packages.el Add keybindings for scrolling in epub layer 2018-08-02 01:38:05 +03:00
README.org Add keybindings for scrolling in epub layer 2018-08-02 01:38:05 +03:00

epub layer

/TakeV/spacemacs/media/commit/314e3470efcf7144f21d5347ab21849c1a6d1bbf/layers/+readers/epub/img/epub.png

Description

This layer provides support for reading EPUB-formatted eBooks in Spacemacs using the excellent nov.el package.

Features:

  • Basic navigation (jump to TOC, previous/next chapter)
  • Remembering and restoring the last read position
  • Jump to next chapter when scrolling beyond end
  • Renders EPUB2 (.ncx) and EPUB3 (<nav>) TOCs
  • Hyperlinks to internal and external targets
  • Supports textual and image documents
  • View source of document files
  • Metadata display
  • Image rescaling

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add epub to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key Binding Description
<TAB> Next link
<BACKTAB> Previous link
H or [ Previous chapter
L or ] Next chapter
u Scroll up
d Scroll down
g m Display metadata
g r Re-render document
g t Table of contents
g v View source
g V View content source

Hint: use SPC w c to center the buffer.