spacemacs/layers/+readers/epub
Daniel Nicolai ad4ee80e56 Add convenient scroll keybindings to epub layer
Similar to the keybindings added to the info layer in PR #14188, I here propose to add the same
keybindings to the epub layer. These J/K keybindings are currently undefined in the epub
layer. These keybindings are used in the Zathura document reader, they are very
convenient and I guess they feel very natural and are preferred over d/u by most people.
2020-12-18 23:40:58 +01:00
..
img
packages.el Add convenient scroll keybindings to epub layer 2020-12-18 23:40:58 +01:00
README.org Add convenient scroll keybindings to epub layer 2020-12-18 23:40:58 +01:00

epub layer

/TakeV/spacemacs/media/commit/638bbb0c388c9304a4fc5999848a408edfb5ad92/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
K/u Scroll up
J/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.