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.
This commit is contained in:
parent
9d7090cee3
commit
ad4ee80e56
|
@ -133,6 +133,8 @@ the [[file:CHANGELOG.org][CHANGELOG.org]] file.
|
||||||
- LSP code navigation / completion added via clangd or ccls
|
- LSP code navigation / completion added via clangd or ccls
|
||||||
(thanks to Cormac Cannon)
|
(thanks to Cormac Cannon)
|
||||||
- Removed cquery.
|
- Removed cquery.
|
||||||
|
***** EPUB
|
||||||
|
- Add ~J/K~ for scrolling down/up (thanks to Daniel Nicolai)
|
||||||
***** ESS
|
***** ESS
|
||||||
- ESS key bindings were re-organised in the following list
|
- ESS key bindings were re-organised in the following list
|
||||||
(thanks to Guido Kraemer, Yi Liu, and Jack Kamm):
|
(thanks to Guido Kraemer, Yi Liu, and Jack Kamm):
|
||||||
|
|
|
@ -38,8 +38,8 @@ file.
|
||||||
| ~<BACKTAB>~ | Previous link |
|
| ~<BACKTAB>~ | Previous link |
|
||||||
| ~H~ or ~[~ | Previous chapter |
|
| ~H~ or ~[~ | Previous chapter |
|
||||||
| ~L~ or ~]~ | Next chapter |
|
| ~L~ or ~]~ | Next chapter |
|
||||||
| ~u~ | Scroll up |
|
| ~K/u~ | Scroll up |
|
||||||
| ~d~ | Scroll down |
|
| ~J/d~ | Scroll down |
|
||||||
| ~g m~ | Display metadata |
|
| ~g m~ | Display metadata |
|
||||||
| ~g r~ | Re-render document |
|
| ~g r~ | Re-render document |
|
||||||
| ~g t~ | Table of contents |
|
| ~g t~ | Table of contents |
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
(kbd "]") 'nov-next-document
|
(kbd "]") 'nov-next-document
|
||||||
(kbd "d") 'nov-scroll-up
|
(kbd "d") 'nov-scroll-up
|
||||||
(kbd "u") 'nov-scroll-down
|
(kbd "u") 'nov-scroll-down
|
||||||
|
(kbd "J") 'nov-scroll-up
|
||||||
|
(kbd "K") 'nov-scroll-down
|
||||||
(kbd "gm") 'nov-display-metadata
|
(kbd "gm") 'nov-display-metadata
|
||||||
(kbd "gr") 'nov-render-document
|
(kbd "gr") 'nov-render-document
|
||||||
(kbd "gt") 'nov-goto-toc
|
(kbd "gt") 'nov-goto-toc
|
||||||
|
|
Loading…
Reference in a new issue