summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docs/usage/reading.rst4
-rw-r--r--frontend/src/lib/reader/PageView.svelte4
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/usage/reading.rst b/docs/usage/reading.rst
index f48e4c6..5f8b60c 100644
--- a/docs/usage/reading.rst
+++ b/docs/usage/reading.rst
@@ -37,6 +37,10 @@ Additionally, the following keyboard shortcuts are available:
+-------------+ |
| Backspace | |
+-------------+----------------------------------------------------+
+| Home | Go to first page. |
++-------------+----------------------------------------------------+
+| End | Go to last page. |
++-------------+----------------------------------------------------+
Editing when reading
--------------------
diff --git a/frontend/src/lib/reader/PageView.svelte b/frontend/src/lib/reader/PageView.svelte
index 59136b4..08764b7 100644
--- a/frontend/src/lib/reader/PageView.svelte
+++ b/frontend/src/lib/reader/PageView.svelte
@@ -69,7 +69,9 @@
['PageUp', prev],
['PageDown', next],
[' ', next],
- ['Backspace', prev]
+ ['Backspace', prev],
+ ['Home', () => gotoChunk(0)],
+ ['End', () => gotoChunk(chunks.length - 1)]
]}
/>