aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorLudwig Stecher2022-02-15 01:24:03 +0000
committerGitHub2022-02-15 01:24:03 +0000
commit442999384256f89eddfa6625a0ffb0257df65ef7 (patch)
tree508ed85a7e294b665f543da7fd23d93dc56e1d30 /book/src
parent23907a063c43f06f120d80a6ec0b6748881236a1 (diff)
Add `PageUp`, `PageDown`, `Ctrl-u`, `Ctrl-d`, `Home`, `End` keyboard shortcuts to file picker (#1612)
* Add `PageUp`, `PageDown`, `Ctrl-u`, `Ctrl-d`, `Home`, `End` keyboard shortcuts to file picker * Refactor file picker paging logic * change key mapping * Add overlay component * Use closure instead of margin to calculate size * Don't wrap file picker in `Overlay` automatically
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 19fd21bb..b135a9f5 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -304,7 +304,11 @@ Keys to use within picker. Remapping currently not supported.
| Key | Description |
| ----- | ------------- |
| `Up`, `Ctrl-k`, `Ctrl-p` | Previous entry |
+| `PageUp`, `Ctrl-b` | Page up |
| `Down`, `Ctrl-j`, `Ctrl-n` | Next entry |
+| `PageDown`, `Ctrl-f` | Page down |
+| `Home` | Go to first entry |
+| `End` | Go to last entry |
| `Ctrl-space` | Filter options |
| `Enter` | Open selected |
| `Ctrl-s` | Open horizontally |