Keyboard Shortcuts Guide
Global Navigation Shortcuts
These shortcuts work on any page in the application:
| Key | Action | Description |
|---|---|---|
j | Scroll down | Smooth scroll down by 100px |
k | Scroll up | Smooth scroll up by 100px |
g | Go to top | Scroll to the top of the page |
G | Go to bottom | Scroll to the bottom of the page |
h | Go back | Navigate back in browser history |
l | Go forward | Navigate forward in browser history |
? | Show help | Display keyboard shortcuts help dialog |
Library Page Shortcuts
When viewing your book library (/library):
| Key | Action | Description |
|---|---|---|
a | Add book | Open the "Add Book" dialog |
/ | Search | Navigate to the search page |
Book Detail Page (Excerpts) Shortcuts
When viewing a specific book's excerpts (/library/[id]):
| Key | Action | Description |
|---|---|---|
e | Add excerpt | Open the "Add Excerpt" dialog |
i | Import excerpts | Open the "Import Excerpts" dialog |
s | Toggle sort | Toggle between ascending/descending sort order |
Search Page Shortcuts
When on the search page (/library/search):
| Key | Action | Description |
|---|---|---|
/ | Focus search | Focus the search input field |
c | Clear search | Clear the search query |
Modal/Dialog Shortcuts
These shortcuts work when any dialog or modal is open:
| Key | Action | Description |
|---|---|---|
Escape | Close dialog | Close the currently open dialog |
Enter | Confirm action | Confirm the action (if available) |